function bb2_screener_cookie($settings, $package, $cookie_name, $cookie_value) { // FIXME: Set the real cookie if (!$settings['eu_cookie']) { setcookie($cookie_name, $cookie_value, 0, bb2_relative_path(), '', $settings['secure_cookie']); } }
function bb2_screener_cookie($settings, $package, $cookie_name, $cookie_value) { if ($settings['eu_cookie']) { // Delete existing cookie, if any setcookie($cookie_name, $cookie_value, 1, bb2_relative_path()); } else { // Set session cookie setcookie($cookie_name, $cookie_value, 0, bb2_relative_path()); } }
function bb2_screener_cookie($settings, $package, $cookie_name, $cookie_value) { // FIXME: Set the real cookie setcookie($cookie_name, $cookie_value, 0, bb2_relative_path()); }