Commit 99e634d7 authored by Taylor Otwell's avatar Taylor Otwell

better organize paths file.

parent 2b88c788
......@@ -8,24 +8,6 @@
* @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.
// --------------------------------------------------------------
......@@ -51,6 +33,24 @@ $paths['storage'] = 'storage';
// --------------------------------------------------------------
$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.
// --------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment