|
@@ -9,16 +9,20 @@
|
|
|
*/
|
|
|
|
|
|
// --------------------------------------------------------------
|
|
|
-// Define the framework paths.
|
|
|
+// Define the core framework paths.
|
|
|
// --------------------------------------------------------------
|
|
|
-define('BASE_PATH', realpath('../').'/');
|
|
|
define('APP_PATH', realpath('../application').'/');
|
|
|
+define('BASE_PATH', realpath('../').'/');
|
|
|
+define('PUBLIC_PATH', realpath(__DIR__.'/'));
|
|
|
define('SYS_PATH', realpath('../system').'/');
|
|
|
+
|
|
|
+// --------------------------------------------------------------
|
|
|
+// Define various other framework paths.
|
|
|
+// --------------------------------------------------------------
|
|
|
define('CONFIG_PATH', APP_PATH.'config/');
|
|
|
define('LIBRARY_PATH', APP_PATH.'libraries/');
|
|
|
define('MODEL_PATH', APP_PATH.'models/');
|
|
|
define('PACKAGE_PATH', APP_PATH.'packages/');
|
|
|
-define('PUBLIC_PATH', realpath(__DIR__.'/'));
|
|
|
define('ROUTE_PATH', APP_PATH.'routes/');
|
|
|
define('SYS_VIEW_PATH', SYS_PATH.'views/');
|
|
|
define('VIEW_PATH', APP_PATH.'views/');
|