diff --git a/core/util.inc.php b/core/util.inc.php index 42d285af..6dd9dbc3 100644 --- a/core/util.inc.php +++ b/core/util.inc.php @@ -713,7 +713,7 @@ function get_prefixed_cookie(/*string*/ $name) { */ function set_prefixed_cookie($name, $value, $time, $path) { global $config; - $full_name = $config->get_string('cookie_prefix','shm')."_".$name; + $full_name = COOKIE_PREFIX."_".$name; setcookie($full_name, $value, $time, $path); }