From 1e74173af31ad9414ee65176d9a5a9cbb26e1e5d Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Thu, 23 Nov 2006 22:01:10 +0000 Subject: [PATCH] r1313: Bringing install/global.php to use the ISSO 2.1.x initializers --- install/global.php | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/install/global.php b/install/global.php index b780ab0..70b26ca 100644 --- a/install/global.php +++ b/install/global.php @@ -31,9 +31,9 @@ define('ISSO_CHECK_POST_REFERER', 1); require_once('./framework/kernel.php'); $bugsys = new ISSO; -$bugsys->set('apppath', getcwd()); -$bugsys->set('application', 'Bugdar'); -$bugsys->set('appversion', '[#]version[#]'); +$bugsys->setAppPath(getcwd()); +$bugsys->setApplication('Bugdar'); +$bugsys->setAppVersion('[#]verson[#]'); if (!file_exists('./includes/config.php')) { @@ -43,14 +43,13 @@ if (!file_exists('./includes/config.php')) require_once('./includes/config.php'); -$bugsys->set('debug', $debug); +$bugsys->setDebug($debug); define('ISSO_DB_LAYER', 'db_mysql'); $bugsys->load('db_mysql', 'db', true); $db->connect($servername, $username, $password, $database, $usepconnect); // needed for API validation -$bugsys->load('localize', 'lang', true); $bugsys->load('functions', 'funct'); define('DEVDEBUG', $debug); -- 2.43.5