index.php 1.13 KB
Newer Older
1 2
<?php
/**
3
 * Laravel - A PHP Framework For Web Artisans
4 5
 *
 * @package  Laravel
Taylor Otwell committed
6
 * @version  3.1.4
Taylor Otwell committed
7
 * @author   Taylor Otwell <taylorotwell@gmail.com>
8
 * @link     http://laravel.com
9
 */
10

11 12 13
// --------------------------------------------------------------
// Tick... Tock... Tick... Tock...
// --------------------------------------------------------------
Taylor Otwell committed
14 15
define('LARAVEL_START', microtime(true));

16
// --------------------------------------------------------------
17
// Indicate that the request is from the web.
18
// --------------------------------------------------------------
19
$web = true;
20 21

// --------------------------------------------------------------
22
// Set the core Laravel path constants.
23
// --------------------------------------------------------------
24
require '../paths.php';
25 26

// --------------------------------------------------------------
27
// Unset the temporary web variable.
28
// --------------------------------------------------------------
29
unset($web);
30

31 32 33
// --------------------------------------------------------------
// Launch Laravel.
// --------------------------------------------------------------
Taylor Otwell committed
34
require path('sys').'laravel.php';