application = 'Bugdar'; $bugsys->apppath = $bugsys->fetch_sourcepath(getcwd()); $bugsys->appversion = '[#]version[#]'; $bugsys->debug = $debug; $bugsys->sourcepath = $bugsys->fetch_sourcepath($pathtoisso); $bugsys->load('db_mysql'); $db->database = $database; $db->connect($servername, $username, $thepass, $usepconnect); $bugsys->exec_sanitize_data(); define('DEVDEBUG', $debug); define('TABLE_PREFIX', $tableprefix); define('COOKIE_PREFIX', $cookieprefix); unset($database, $servername, $username, $password, $usepconnect, $tableprefix, $cookieprefix); require_once('./includes/functions_datastore.php'); require_once('./includes/functions.php'); // ################################################################### // init the big three $bugsys->options = array(); $bugsys->userinfo = array(); $bugsys->datastore = array(); // ################################################################### $bugsys->versions = array( '1.0.0' => 1, '1.0.1' => -1 ); // ################################################################### $bugsys->input_clean('mark', TYPE_UINT); // ################################################################### // ################################################################### // ################################################################### // ################################################################### // constructs the page header bit function page_start() { ?> Bugdar Installer in['mark'] >= STOP_MARK) { echo ''; } else { echo ''; } } echo ' '; exit; } /*=====================================================================*\ || ################################################################### || # $HeadURL$ || # $Id$ || ################################################################### \*=====================================================================*/ ?>