mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-04 07:47:34 +02:00
Changed $board_config to $config, more posting "stuff", altered polling code in viewtopic and loads of new problems, poor coding, etc. created :)
git-svn-id: file:///svn/phpbb/trunk@2983 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -413,14 +413,14 @@ function config_config($config = false)
|
||||
}
|
||||
}
|
||||
|
||||
$cache_str = "\$board_config = array(\n";
|
||||
$cache_str = "\$config = array(\n";
|
||||
foreach ($config as $config_name => $config_value)
|
||||
{
|
||||
$cache_str .= "\t'$config_name' => " . ( ( is_numeric($config_value) ) ? $config_value : '"' . addslashes($config_value) . '"' ) . ",\n";
|
||||
}
|
||||
$cache_str .= ");";
|
||||
|
||||
config_cache_write('\$board_config = array\(.*?\);', $cache_str);
|
||||
config_cache_write('\$config = array\(.*?\);', $cache_str);
|
||||
|
||||
return $config;
|
||||
}
|
||||
|
Reference in New Issue
Block a user