Revision 1996
Added by Dietmar about 11 years ago
- /framework/initialize.php::readConfiguration missing constants setting solved
initialize.php | ||
---|---|---|
115 | 115 |
if(is_readable($sSetupFile)) { |
116 | 116 |
$aCfg = parse_ini_file($sSetupFile, true); |
117 | 117 |
foreach($aCfg['Constants'] as $key=>$value) { |
118 |
switch($key):
|
|
118 |
switch(strtoupper($key)):
|
|
119 | 119 |
case 'DEBUG': |
120 | 120 |
$value = filter_var($value, FILTER_VALIDATE_BOOLEAN); |
121 | 121 |
if(!defined('DEBUG')) { define('DEBUG', $value); } |
... | ... | |
185 | 185 |
}else { |
186 | 186 |
$aSqlData = readConfiguration($sDbConnectType); |
187 | 187 |
} |
188 |
SetInstallPathConstants(); |
|
188 | 189 |
// sanitize $_SERVER['HTTP_REFERER'] --- |
189 | 190 |
SanitizeHttpReferer(WB_URL); |
190 |
SetInstallPathConstants(); |
|
191 | 191 |
// register WB basic autoloader --- |
192 | 192 |
$sTmp = dirname(__FILE__).'/WbAutoloader.php'; |
193 | 193 |
if(!class_exists('WbAutoloader')){ |
Also available in: Unified diff