Files
spa-api/public/index.php

49 lines
1.9 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
2012-01-16 14:03:39 -06:00
* @version 2.2.0 (Beta 1)
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
// --------------------------------------------------------------
// Define the directory separator for the environment.
// --------------------------------------------------------------
define('DS', DIRECTORY_SEPARATOR);
// --------------------------------------------------------------
// The path to the application directory.
// --------------------------------------------------------------
2012-01-16 13:59:24 -06:00
define('APP_PATH', realpath('../application').DS);
// --------------------------------------------------------------
// The path to the bundles directory.
// --------------------------------------------------------------
define('BUNDLE_PATH', realpath('../bundles').DS);
// --------------------------------------------------------------
// The path to the storage directory.
// --------------------------------------------------------------
define('STORAGE_PATH', realpath('../storage').DS);
2011-08-19 20:12:39 -05:00
// --------------------------------------------------------------
// The path to the Laravel directory.
// --------------------------------------------------------------
2012-01-16 13:59:24 -06:00
define('SYS_PATH', realpath('../laravel').DS);
2011-08-03 22:10:07 -05:00
// --------------------------------------------------------------
// The path to the public directory.
// --------------------------------------------------------------
2012-01-16 13:59:24 -06:00
define('PUBLIC_PATH', realpath(__DIR__).DS);
2011-06-08 23:45:08 -05:00
// --------------------------------------------------------------
// Launch Laravel.
// --------------------------------------------------------------
2012-01-16 13:59:24 -06:00
require SYS_PATH.'laravel.php';