|
|
@@ -122,15 +122,15 @@ class ShellDispatcher {
|
|
|
private function __bootstrap() {
|
|
|
define('ROOT', $this->params['root']);
|
|
|
define('APP_DIR', $this->params['app']);
|
|
|
- define('APP_PATH', $this->params['working'] . DS);
|
|
|
- define('WWW_ROOT', APP_PATH . $this->params['webroot'] . DS);
|
|
|
+ define('APP', $this->params['working'] . DS);
|
|
|
+ define('WWW_ROOT', APP . $this->params['webroot'] . DS);
|
|
|
if (!is_dir(ROOT . DS . APP_DIR . DS . 'tmp')) {
|
|
|
define('TMP', CAKE_CORE_INCLUDE_PATH . DS . 'Cake' . DS . 'Console' . DS . 'Templates' . DS . 'skel' . DS . 'tmp' . DS);
|
|
|
}
|
|
|
$boot = file_exists(ROOT . DS . APP_DIR . DS . 'Config' . DS . 'bootstrap.php');
|
|
|
require CORE_PATH . 'Cake' . DS . 'bootstrap.php';
|
|
|
|
|
|
- if (!file_exists(APP_PATH . 'Config' . DS . 'core.php')) {
|
|
|
+ if (!file_exists(APP . 'Config' . DS . 'core.php')) {
|
|
|
include_once CAKE_CORE_INCLUDE_PATH . DS . 'Cake' . DS . 'Console' . DS . 'Templates' . DS . 'skel' . DS . 'Config' . DS . 'core.php';
|
|
|
App::build();
|
|
|
}
|