Commit 00d1baf6 authored by tillsanders's avatar tillsanders

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 
parent 9fae4dc8
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
*/ */
function e($value) function e($value)
{ {
return Laravel\HTML::entities($value); return HTML::entities($value);
} }
/** /**
...@@ -23,7 +23,7 @@ function e($value) ...@@ -23,7 +23,7 @@ function e($value)
*/ */
function __($key, $replacements = array(), $language = null) function __($key, $replacements = array(), $language = null)
{ {
return Laravel\Lang::line($key, $replacements, $language); return Lang::line($key, $replacements, $language);
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment