Commit 0dc43490 authored by Taylor Otwell's avatar Taylor Otwell

moved functions to helpers file.

parent c67a010c
......@@ -78,4 +78,4 @@ spl_autoload_register(array('Laravel\\Autoloader', 'load'));
* Define a few global convenience functions to make our lives as
* Laravel PHP developers a little more easy and enjoyable.
*/
require 'functions'.EXT;
\ No newline at end of file
require SYS_PATH.'helpers'.EXT;
\ No newline at end of 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);
}
\ No newline at end of file
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