Source
24 $path = ($path) ? $path : Director::baseURL();
25
26 // Versions of PHP prior to 5.2 do not support the $httpOnly value
27 if(version_compare(phpversion(), 5.2, '<')) {
28 setcookie($name, $value, $expiry, $path, $domain, $secure);
29 } else {
30 setcookie($name, $value, $expiry, $path, $domain, $secure, $httpOnly);
31 }
32 } else {
33 if(self::$report_errors) user_error("Cookie '$name' can't be set. The site started outputting was content at line $line in $file", E_USER_WARNING);
34 }
35 }
36
37 /**
38 * Get a cookie variable
39 */
Trace
- Cookie 'bypassStaticCache' can't be set. The site started outputting was content at line 461 in /var/www/lserie.de/html/sapphire/core/ManifestBuilder.php
Line 33 of Cookie.php
- Cookie::set(bypassStaticCache,,0)
Line 622 of Versioned.php
- Versioned::choose_site_stage()
Line 940 of Versioned.php
- Versioned->modelascontrollerInit(ModelAsController,,,,,,)
Line 963 of Object.php
- Object->extend(modelascontrollerInit,ModelAsController)
Line 31 of ModelAsController.php
- ModelAsController->init()
Line 47 of ModelAsController.php
- ModelAsController->handleRequest(SS_HTTPRequest)
Line 111 of RootURLController.php
- RootURLController->handleRequest(SS_HTTPRequest)
Line 283 of Director.php
- Director::handleRequest(SS_HTTPRequest,Session)
Line 127 of Director.php
- Director::direct()
Line 127 of main.php
- require_once(/var/www/lserie.de/html/sapphire/main.php)
Line 63 of index.php