set('apppath', getcwd()); $bugsys->set('application', 'Bugdar'); $bugsys->set('appversion', '[#]version[#]'); if (!file_exists('./includes/config.php')) { echo 'includes/config.php needs to be present!'; exit; } require_once('./includes/config.php'); $bugsys->set('debug', $debug); define('ISSO_DB_LAYER', 'db_mysql'); $bugsys->load('db_mysql'); $db->connect($servername, $username, $password, $database, $usepconnect); 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' => 2, '1.1.0 Beta 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$ || ################################################################### \*=====================================================================*/ ?>