mirror of
https://github.com/laravel/laravel.git
synced 2025-02-20 11:53:14 +08:00
added log to aliases. fixed flash data bug.
This commit is contained in:
parent
8ae6b95dcf
commit
49f7145729
@ -85,6 +85,7 @@ return array(
|
||||
'Inflector' => 'System\\Inflector',
|
||||
'Input' => 'System\\Input',
|
||||
'Lang' => 'System\\Lang',
|
||||
'Log' => 'System\\Log',
|
||||
'URL' => 'System\\URL',
|
||||
'Redirect' => 'System\\Redirect',
|
||||
'Request' => 'System\\Request',
|
||||
|
@ -119,6 +119,11 @@ else
|
||||
// ----------------------------------------------------------
|
||||
System\Filter::call('after', array($response));
|
||||
|
||||
// ----------------------------------------------------------
|
||||
// Stringify the response.
|
||||
// ----------------------------------------------------------
|
||||
$response->content = (string) $response->content;
|
||||
|
||||
// --------------------------------------------------------------
|
||||
// Close the session.
|
||||
// --------------------------------------------------------------
|
||||
|
@ -204,9 +204,9 @@ class Session {
|
||||
public static function close()
|
||||
{
|
||||
// -----------------------------------------------------
|
||||
// Flash the old input into the session.
|
||||
// Do we need to re-flash the old Input data?
|
||||
// -----------------------------------------------------
|
||||
static::flash('laravel_old_input', Input::get());
|
||||
static::flash('laravel_old_input', Input::get());
|
||||
|
||||
// -----------------------------------------------------
|
||||
// Age the session flash data.
|
||||
|
Loading…
x
Reference in New Issue
Block a user