error_reporting(0); // ------------------------------------------------------------------------- // // 1.542 photokorn gallery // // ------------------------------------------------------------------------- // // SCRiPTMAFiA 2005 - THE DiRTY HANDS ON YOUR SCRiPTS // // ------------------------------------------------------------------------- // // This script is NOT freeware! Please read the Copyright Notice // // (Licence.txt) for further information. // // ------------------------------------------------------------------------- // if (substr($_SERVER['PHP_SELF'], -9) != "index.php") { header('Location:' . $url . '/index.php'); } define('SCRIPT_PATH', "includes"); require_once (SCRIPT_PATH . '/mysql.inc.php'); if (!isset($dir_path)) { header("Location: install.php"); } define('DIR_PATH', "$dir_path"); require_once(DIR_PATH . '/includes/getlang.php'); session_start(); $time_start = getmicrotime(); require_once (DIR_PATH . '/includes/functions.gal.php'); require_once (DIR_PATH . '/includes/player.inc.php'); require_once (DIR_PATH . '/header.php'); require_once (DIR_PATH . '/includes/gallery.inc.php'); $time_end = getmicrotime(); show_queries($time_start, $time_end); include_once (DIR_PATH . '/footer.php'); ob_end_flush(); ?>