mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 12:30:49 +08:00
fix imdb in new structure
This commit is contained in:
@@ -69,9 +69,7 @@ if (basename($_SERVER['SCRIPT_FILENAME']) == 'announce.php') {
|
||||
}
|
||||
$settings = get_setting();
|
||||
foreach ($settings as $name => $value) {
|
||||
$prefix = strtoupper(strstr($name, '.', true));
|
||||
$pureName = substr($name, strpos($name, '.') + 1);
|
||||
$GLOBALS[$prefix][$pureName] = $value;
|
||||
$GLOBALS[strtoupper($name)] = $value;
|
||||
}
|
||||
|
||||
$SITENAME = $BASIC['SITENAME'];
|
||||
|
||||
Reference in New Issue
Block a user