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:
parent
9fae4dc8d7
commit
00d1baf69e
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue