Pluf Framework

Pluf Framework Commit Details


Date:2009-08-05 07:49:56 (15 years 4 months ago)
Author:Loic d'Anterroches
Branch:develop, master
Commit:27c5d25f0308483699e1c57e1f2a2ca12a07485b
Parents: dddca5070e52d50d6b00dca6d0a75d418f908ae6
Message:Added the time of the request to the request object.

Changes:

File differences

src/Pluf/HTTP/Request.php
4141
4242
4343
44
4445
4546
4647
......
5859
5960
6061
62
6163
6264
public $http_host = '';
public $SERVER = array();
public $uid = '';
public $time = '';
function __construct($query)
{
$this->http_host = (isset($_SERVER['HTTP_HOST'])) ? $_SERVER['HTTP_HOST'] : '';
$this->SERVER =& $_SERVER;
$this->uid = $GLOBALS['_PX_uniqid'];
$this->time = (isset($_SERVER['REQUEST_TIME'])) ? $_SERVER['REQUEST_TIME'] : time();
}
}

Archive Download the corresponding diff file

Branches

Tags

Number of commits:
Page rendered in 0.05558s using 13 queries.