Update laravel/helpers.php

The e-helper and the __-Helper used the core-classes. 
So if I would like to override them, the helpers would still use the core-classes.
See this thread for further explanation: http://forums.laravel.com/viewtopic.php?id=2656
This commit is contained in:
tillsanders 2012-10-03 15:35:34 +03:00
parent 9fae4dc8d7
commit 00d1baf69e
1 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@
*/
function e($value)
{
return Laravel\HTML::entities($value);
return HTML::entities($value);
}
/**
@ -23,7 +23,7 @@ function e($value)
*/
function __($key, $replacements = array(), $language = null)
{
return Laravel\Lang::line($key, $replacements, $language);
return Lang::line($key, $replacements, $language);
}
/**