49 lines
1.9 KiB
Plaintext
49 lines
1.9 KiB
Plaintext
<?php
|
|
/**
|
|
* Laravel (CLI) - A Command Line For Web Artisans
|
|
*
|
|
* @package Laravel
|
|
* @version 2.2.0 (Beta 1)
|
|
* @author Taylor Otwell <taylorotwell@gmail.com>
|
|
* @link http://laravel.com
|
|
*/
|
|
|
|
// --------------------------------------------------------------
|
|
// Define the directory separator for the environment.
|
|
// --------------------------------------------------------------
|
|
define('DS', DIRECTORY_SEPARATOR);
|
|
|
|
// --------------------------------------------------------------
|
|
// The path to the application directory.
|
|
// --------------------------------------------------------------
|
|
define('APP_PATH', realpath('application').'/');
|
|
|
|
// --------------------------------------------------------------
|
|
// The path to the bundles directory.
|
|
// --------------------------------------------------------------
|
|
define('BUNDLE_PATH', realpath('bundles').'/');
|
|
|
|
// --------------------------------------------------------------
|
|
// The path to the storage directory.
|
|
// --------------------------------------------------------------
|
|
define('STORAGE_PATH', realpath('storage').'/');
|
|
|
|
// --------------------------------------------------------------
|
|
// The path to the Laravel directory.
|
|
// --------------------------------------------------------------
|
|
define('SYS_PATH', realpath('laravel').'/');
|
|
|
|
// --------------------------------------------------------------
|
|
// The path to the public directory.
|
|
// --------------------------------------------------------------
|
|
define('PUBLIC_PATH', realpath('public').'/');
|
|
|
|
// --------------------------------------------------------------
|
|
// Bootstrap the Laravel core.
|
|
// --------------------------------------------------------------
|
|
require SYS_PATH.'core.php';
|
|
|
|
// --------------------------------------------------------------
|
|
// Launch the Laravel "Artisan" CLI.
|
|
// --------------------------------------------------------------
|
|
require SYS_PATH.'cli/artisan'.EXT; |