various refactorings.

This commit is contained in:
Taylor Otwell
2011-11-02 21:27:43 -05:00
parent 128984facb
commit 9caf239f6b
29 changed files with 275 additions and 150 deletions

View File

@@ -8,6 +8,8 @@
* @link http://laravel.com
*/
define('LARAVEL_START', microtime(true));
// --------------------------------------------------------------
// The path to the application directory.
// --------------------------------------------------------------
@@ -16,14 +18,16 @@ $application = '../application';
// --------------------------------------------------------------
// The path to the Laravel directory.
// --------------------------------------------------------------
$laravel = '../laravel';
$laravel = '../laravel';
// --------------------------------------------------------------
// The path to the public directory.
// --------------------------------------------------------------
$public = __DIR__;
$public = __DIR__;
// --------------------------------------------------------------
// Launch Laravel.
// --------------------------------------------------------------
require $laravel.'/laravel.php';
require $laravel.'/laravel.php';
echo (microtime(true) - LARAVEL_START) * 1000;