2011-06-08 23:45:08 -05:00
|
|
|
<?php
|
|
|
|
|
/**
|
|
|
|
|
* Laravel - A clean and classy framework for PHP web development.
|
|
|
|
|
*
|
|
|
|
|
* @package Laravel
|
2011-08-03 22:10:07 -05:00
|
|
|
* @version 1.5.0
|
2011-07-16 13:52:13 -05:00
|
|
|
* @author Taylor Otwell
|
2011-07-25 23:32:25 -05:00
|
|
|
* @link http://laravel.com
|
2011-06-08 23:45:08 -05:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
// --------------------------------------------------------------
|
2011-07-28 08:46:39 -05:00
|
|
|
// The path to the application directory.
|
2011-06-08 23:45:08 -05:00
|
|
|
// --------------------------------------------------------------
|
2011-07-28 08:58:32 -05:00
|
|
|
define('APP_PATH', realpath('../application').'/');
|
2011-07-28 08:46:39 -05:00
|
|
|
|
|
|
|
|
// --------------------------------------------------------------
|
|
|
|
|
// The path to the system directory.
|
|
|
|
|
// --------------------------------------------------------------
|
2011-07-28 08:56:39 -05:00
|
|
|
define('SYS_PATH', realpath($system = '../system').'/');
|
|
|
|
|
|
2011-07-29 22:53:43 -05:00
|
|
|
// --------------------------------------------------------------
|
2011-08-03 22:10:07 -05:00
|
|
|
// The path to the packages directory.
|
2011-07-29 22:53:43 -05:00
|
|
|
// --------------------------------------------------------------
|
2011-08-03 22:10:07 -05:00
|
|
|
define('PACKAGE_PATH', realpath('../packages').'/');
|
|
|
|
|
|
|
|
|
|
// --------------------------------------------------------------
|
|
|
|
|
// The path to the modules directory.
|
|
|
|
|
// --------------------------------------------------------------
|
|
|
|
|
define('MODULE_PATH', realpath('../modules').'/');
|
|
|
|
|
|
|
|
|
|
// --------------------------------------------------------------
|
|
|
|
|
// The path to the storage directory.
|
|
|
|
|
// --------------------------------------------------------------
|
|
|
|
|
define('STORAGE_PATH', realpath('../storage').'/');
|
|
|
|
|
|
|
|
|
|
// --------------------------------------------------------------
|
2011-08-04 17:36:23 -05:00
|
|
|
// The path to the public directory.
|
2011-08-03 22:10:07 -05:00
|
|
|
// --------------------------------------------------------------
|
2011-08-04 17:36:23 -05:00
|
|
|
define('PUBLIC_PATH', realpath(__DIR__).'/');
|
2011-06-09 12:31:35 -05:00
|
|
|
|
2011-06-08 23:45:08 -05:00
|
|
|
// --------------------------------------------------------------
|
2011-08-04 17:36:23 -05:00
|
|
|
// The path to the directory containing the system directory.
|
2011-06-08 23:45:08 -05:00
|
|
|
// --------------------------------------------------------------
|
2011-08-04 17:36:23 -05:00
|
|
|
define('BASE_PATH', realpath(str_replace('system', '', $system)).'/');
|
2011-06-08 23:45:08 -05:00
|
|
|
|
|
|
|
|
// --------------------------------------------------------------
|
2011-08-04 17:36:23 -05:00
|
|
|
// Launch Laravel.
|
2011-06-08 23:45:08 -05:00
|
|
|
// --------------------------------------------------------------
|
2011-08-04 17:36:23 -05:00
|
|
|
require SYS_PATH.'laravel.php';
|