pluf2

pluf2 Commit Details


Date:2009-01-14 13:00:24 (15 years 11 months ago)
Author:Loic d'Anterroches
Branch:master
Commit:43f2e3b1e3ee0671284d3c2a146a6abff8578dfe
Parents: 9d364c6f00a8270b837b93fb4e2c80afa144ad3a
Message:Fixed for the cases where it is not defined.

Changes:

File differences

src/Pluf/HTTP/Request.php
5454
5555
5656
57
57
5858
5959
6060
$this->method = $_SERVER['REQUEST_METHOD'];
$this->uri = $_SERVER['REQUEST_URI'];
$this->remote_addr = $_SERVER['REMOTE_ADDR'];
$this->http_host = $_SERVER['HTTP_HOST'];
$this->http_host = (isset($_SERVER['HTTP_HOST'])) ? $_SERVER['HTTP_HOST'] : '';
$this->SERVER =& $_SERVER;
}
}

Archive Download the corresponding diff file

Branches

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