reverting di refactoring.

This commit is contained in:
Taylor Otwell
2011-10-29 22:31:50 -05:00
parent f5680e4537
commit ef9e4dfd61
12 changed files with 101 additions and 181 deletions

View File

@@ -261,9 +261,7 @@ class Response {
$this->header('Content-Type', 'text/html; charset='.Config::$items['application']['encoding']);
}
$request = IoC::container()->core('request');
header($request->protocol().' '.$this->status.' '.$this->statuses[$this->status]);
header(Request::protocol().' '.$this->status.' '.$this->statuses[$this->status]);
foreach ($this->headers as $name => $value)
{