Browse Source

better organize paths file.

Taylor Otwell 12 years ago
parent
commit
99e634d7a4
1 changed files with 18 additions and 18 deletions
  1. 18 18
      paths.php

+ 18 - 18
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['storage'] = 'storage';
 // --------------------------------------------------------------
 // --------------------------------------------------------------
 $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.
 // --------------------------------------------------------------
 // --------------------------------------------------------------