Commit d8cab0a7 by Taylor Otwell

Tweak framework constants.

parent b796ef1b
......@@ -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/');
......
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