better organize paths file.
This commit is contained in:
parent
2b88c78896
commit
99e634d7a4
36
paths.php
36
paths.php
|
@ -8,24 +8,6 @@
|
||||||
* @link http://laravel.com
|
* @link http://laravel.com
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// --------------------------------------------------------------
|
|
||||||
// Change to the current working directory.
|
|
||||||
// --------------------------------------------------------------
|
|
||||||
chdir(__DIR__);
|
|
||||||
|
|
||||||
// --------------------------------------------------------------
|
|
||||||
// Define the directory separator for the environment.
|
|
||||||
// --------------------------------------------------------------
|
|
||||||
if ( ! defined('DS'))
|
|
||||||
{
|
|
||||||
define('DS', DIRECTORY_SEPARATOR);
|
|
||||||
}
|
|
||||||
|
|
||||||
// --------------------------------------------------------------
|
|
||||||
// Define the path to the base directory.
|
|
||||||
// --------------------------------------------------------------
|
|
||||||
$GLOBALS['laravel_paths']['base'] = __DIR__.DS;
|
|
||||||
|
|
||||||
// --------------------------------------------------------------
|
// --------------------------------------------------------------
|
||||||
// The path to the application directory.
|
// The path to the application directory.
|
||||||
// --------------------------------------------------------------
|
// --------------------------------------------------------------
|
||||||
|
@ -51,6 +33,24 @@
|
||||||
// --------------------------------------------------------------
|
// --------------------------------------------------------------
|
||||||
$paths['public'] = 'public';
|
$paths['public'] = 'public';
|
||||||
|
|
||||||
|
// --------------------------------------------------------------
|
||||||
|
// Change to the current working directory.
|
||||||
|
// --------------------------------------------------------------
|
||||||
|
chdir(__DIR__);
|
||||||
|
|
||||||
|
// --------------------------------------------------------------
|
||||||
|
// Define the directory separator for the environment.
|
||||||
|
// --------------------------------------------------------------
|
||||||
|
if ( ! defined('DS'))
|
||||||
|
{
|
||||||
|
define('DS', DIRECTORY_SEPARATOR);
|
||||||
|
}
|
||||||
|
|
||||||
|
// --------------------------------------------------------------
|
||||||
|
// Define the path to the base directory.
|
||||||
|
// --------------------------------------------------------------
|
||||||
|
$GLOBALS['laravel_paths']['base'] = __DIR__.DS;
|
||||||
|
|
||||||
// --------------------------------------------------------------
|
// --------------------------------------------------------------
|
||||||
// Define each constant if it hasn't been defined.
|
// Define each constant if it hasn't been defined.
|
||||||
// --------------------------------------------------------------
|
// --------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue