Deprecated: Function ereg_replace() is deprecated in /home/www/joel.biz/sapphire/core/ManifestBuilder.php on line 257

Deprecated: Function ereg_replace() is deprecated in /home/www/joel.biz/sapphire/core/ManifestBuilder.php on line 257
GET /nyheder/

[Notice] Undefined variable: _SESSION

GET /nyheder/

Line 120 in /home/www/joel.biz/sapphire/core/control/Director.php

Source

111 			@file_get_contents('php://input')
112 		);
113 		
114 		// @todo find better way to extract HTTP headers
115 		if(isset($_SERVER['HTTP_ACCEPT'])) $req->addHeader("Accept", $_SERVER['HTTP_ACCEPT']);
116 		if(isset($_SERVER['CONTENT_TYPE'])) $req->addHeader("Content-Type", $_SERVER['CONTENT_TYPE']);
117 		if(isset($_SERVER['HTTP_REFERER'])) $req->addHeader("Referer", $_SERVER['HTTP_REFERER']);
118 
119 		// Load the session into the controller
120 		$session = new Session($_SESSION);
121 		$result = Director::handleRequest($req, $session);
122 		$session->inst_save();
123 
124 		// Return code for a redirection request
125 		if(is_string($result) && substr($result,0,9) == 'redirect:') {
126 			$response = new HTTPResponse();

Trace