added a few more path constants.

This commit is contained in:
Taylor Otwell
2011-07-26 22:11:16 -05:00
parent d8cab0a7b6
commit 1cf4431659
4 changed files with 14 additions and 11 deletions

View File

@@ -12,18 +12,21 @@
// Define the core framework paths.
// --------------------------------------------------------------
define('APP_PATH', realpath('../application').'/');
define('BASE_PATH', realpath('../').'/');
define('PUBLIC_PATH', realpath(__DIR__.'/'));
define('SYS_PATH', realpath('../system').'/');
define('PUBLIC_PATH', realpath(__DIR__.'/'));
define('BASE_PATH', realpath('../').'/');
// --------------------------------------------------------------
// Define various other framework paths.
// --------------------------------------------------------------
define('CACHE_PATH', APP_PATH.'storage/cache/');
define('CONFIG_PATH', APP_PATH.'config/');
define('DATABASE_PATH', APP_PATH.'storage/db/');
define('LIBRARY_PATH', APP_PATH.'libraries/');
define('MODEL_PATH', APP_PATH.'models/');
define('PACKAGE_PATH', APP_PATH.'packages/');
define('ROUTE_PATH', APP_PATH.'routes/');
define('SESSION_PATH', APP_PATH.'storage/sessions/');
define('SYS_VIEW_PATH', SYS_PATH.'views/');
define('VIEW_PATH', APP_PATH.'views/');