laravel/public/index.php

34 lines
1.1 KiB
PHP
Raw Normal View History

2011-06-08 23:45:08 -05:00
<?php
/**
2011-11-25 11:33:50 -06:00
* Laravel - A PHP Framework For Web Artisans
2011-06-08 23:45:08 -05:00
*
* @package Laravel
2013-01-10 16:19:57 -06:00
* @version 3.2.13
2011-08-23 21:04:40 -05:00
* @author Taylor Otwell <taylorotwell@gmail.com>
2011-07-25 23:32:25 -05:00
* @link http://laravel.com
2011-06-08 23:45:08 -05:00
*/
// --------------------------------------------------------------
// Tick... Tock... Tick... Tock...
// --------------------------------------------------------------
2011-11-02 21:27:43 -05:00
define('LARAVEL_START', microtime(true));
2012-01-16 13:59:24 -06:00
// --------------------------------------------------------------
2012-01-17 15:28:19 -06:00
// Indicate that the request is from the web.
2012-01-16 13:59:24 -06:00
// --------------------------------------------------------------
2012-01-17 15:28:19 -06:00
$web = true;
2012-01-16 13:59:24 -06:00
// --------------------------------------------------------------
2012-01-17 15:28:19 -06:00
// Set the core Laravel path constants.
// --------------------------------------------------------------
2012-01-17 15:28:19 -06:00
require '../paths.php';
2012-01-16 13:59:24 -06:00
// --------------------------------------------------------------
2012-01-17 15:28:19 -06:00
// Unset the temporary web variable.
2012-01-16 13:59:24 -06:00
// --------------------------------------------------------------
2012-01-17 15:28:19 -06:00
unset($web);
2011-06-08 23:45:08 -05:00
// --------------------------------------------------------------
// Launch Laravel.
// --------------------------------------------------------------
2012-03-29 22:06:39 -05:00
require path('sys').'laravel.php';