Adding missing constants

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3405 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
dho 2006-08-18 07:33:33 +00:00
parent 7971fc0de6
commit f12f312b2e

View file

@ -58,16 +58,19 @@
define('ROOT', $root);
define('APP_DIR', $appdir);
define('APP_PATH', ROOT.DS.APP_DIR.DS);
}
function defineAppConstantsWithDefaultValues() {
define('ROOT', CORE_PATH);
define('APP_DIR', 'app');
define('APP_PATH', ROOT.DS.APP_DIR.DS);
}
function defineConstants() {
define('DS', DIRECTORY_SEPARATOR);
define('CORE_PATH', dirname(dirname(dirname(__FILE__))));
define('CAKE_CORE_INCLUDE_PATH', dirname(dirname(dirname(__FILE__))));
define('CORE_PATH', CAKE_CORE_INCLUDE_PATH.DS);
}
function executeTask($taskName, $params) {