Browse Source

adjusted front controller.

Taylor Otwell 13 years ago
parent
commit
ae1acfddda
1 changed files with 5 additions and 5 deletions
  1. 5 5
      public/index.php

+ 5 - 5
public/index.php

@@ -18,6 +18,11 @@ define('APP_PATH', realpath('../application').'/');
 // --------------------------------------------------------------
 define('SYS_PATH', realpath($system = '../system').'/');
 
+// --------------------------------------------------------------
+// The path to the public directory.
+// --------------------------------------------------------------
+define('PUBLIC_PATH', realpath(__DIR__).'/');
+
 // --------------------------------------------------------------
 // The path to the packages directory.
 // --------------------------------------------------------------
@@ -33,11 +38,6 @@ define('MODULE_PATH', realpath('../modules').'/');
 // --------------------------------------------------------------
 define('STORAGE_PATH', realpath('../storage').'/');
 
-// --------------------------------------------------------------
-// The path to the public directory.
-// --------------------------------------------------------------
-define('PUBLIC_PATH', realpath(__DIR__).'/');
-
 // --------------------------------------------------------------
 // The path to the directory containing the system directory.
 // --------------------------------------------------------------