From 99e634d7a4006a91088a30026e5d38c1ef7591e2 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Thu, 12 Apr 2012 22:35:18 -0500 Subject: [PATCH] better organize paths file. --- paths.php | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/paths.php b/paths.php index 000c44a0..fe2e8dd8 100644 --- a/paths.php +++ b/paths.php @@ -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['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. // --------------------------------------------------------------