moved functions to helpers file.

This commit is contained in:
Taylor Otwell 2011-11-10 22:10:18 -06:00
parent c67a010c5c
commit 0dc43490a6
2 changed files with 3 additions and 3 deletions

View File

@ -78,4 +78,4 @@
* Define a few global convenience functions to make our lives as
* Laravel PHP developers a little more easy and enjoyable.
*/
require 'functions'.EXT;
require SYS_PATH.'helpers'.EXT;

View File

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