From 174e441ad73d91748a439b00014eb14b27dfc872 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Tue, 1 Aug 2006 06:15:59 +0000 Subject: [PATCH] r1010: Fine. Apparently we actually *need* to load the localization module, so we will. Pfft. --- install/global.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/install/global.php b/install/global.php index 8c9d3c3..1081b09 100644 --- a/install/global.php +++ b/install/global.php @@ -49,7 +49,8 @@ define('ISSO_DB_LAYER', 'db_mysql'); $bugsys->load('db_mysql', 'db', true); $db->connect($servername, $username, $password, $database, $usepconnect); -// needed for API validation of user emails +// needed for API validation +$bugsys->load('localize', 'lang', true); $bugsys->load('functions', 'funct'); define('DEVDEBUG', $debug); @@ -60,6 +61,7 @@ unset($database, $servername, $username, $password, $usepconnect, $tableprefix, require_once('./includes/functions_datastore.php'); require_once('./includes/functions.php'); +require_once('./includes/permissions.php'); // ################################################################### // init the big three @@ -68,9 +70,6 @@ $bugsys->options = array(); $bugsys->userinfo = array(); $bugsys->datastore = array(); -class dummy { function string() {} } -$lang = new dummy(); - // ################################################################### $bugsys->versions = array( -- 2.22.5