merge paths into a single place.
This commit is contained in:
37
artisan
37
artisan
@@ -1,42 +1,9 @@
|
||||
<?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.
|
||||
// Set the core Laravel path constants.
|
||||
// --------------------------------------------------------------
|
||||
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').'/');
|
||||
require 'paths.php';
|
||||
|
||||
// --------------------------------------------------------------
|
||||
// Bootstrap the Laravel core.
|
||||
|
||||
Reference in New Issue
Block a user