refactoring route loader and router.

This commit is contained in:
Taylor Otwell
2011-09-20 00:07:16 -05:00
parent 82f3784d2b
commit 096280c958
3 changed files with 22 additions and 30 deletions

View File

@@ -15,11 +15,6 @@
*/
define('START_TIME', microtime(true));
function elapsed()
{
return number_format((microtime(true) - START_TIME) * 1000, 2);
}
/*
|--------------------------------------------------------------------------
| Laravel Installation Paths
@@ -48,6 +43,4 @@ $public = __DIR__;
| 3... 2... 1... Lift-off!
|--------------------------------------------------------------------------
*/
require $laravel.'/laravel.php';
echo elapsed();
require $laravel.'/laravel.php';