refactoring the auto loader.

This commit is contained in:
Taylor Otwell
2011-10-31 23:46:45 -05:00
parent d44c076ebf
commit a0bbc9d472
5 changed files with 32 additions and 14 deletions

View File

@@ -14,7 +14,9 @@ Config::load('session');
IoC::bootstrap();
spl_autoload_register(array('Laravel\\Autoloader', 'load'));
$loader = new Autoloader;
spl_autoload_register(array($loader, 'load'));
function e($value)
{