예제 #1
0
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']);
    }
}
예제 #2
0
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());
    }
}
예제 #3
0
function bb2_screener_cookie($settings, $package, $cookie_name, $cookie_value)
{
    // FIXME: Set the real cookie
    setcookie($cookie_name, $cookie_value, 0, bb2_relative_path());
}