this setting is used before the database is connected to...

This commit is contained in:
Shish
2009-10-26 11:39:53 +00:00
parent 07178e0c4d
commit 1d46dbbe18
2 changed files with 2 additions and 1 deletions

View File

@ -325,7 +325,7 @@ function get_session_ip($config) {
*/
function get_prefixed_cookie($name) {
global $config;
$full_name = $config->get_string('cookie_prefix','shm')."_".$name;
$full_name = COOKIE_PREFIX."_".$name;
if(isset($_COOKIE[$full_name])) {
return $_COOKIE[$full_name];
}