Skip to content

Commit

Permalink
Fixing file permissions errors that occurred when creating a new proj…
Browse files Browse the repository at this point in the history
…ect.
  • Loading branch information
markstory committed Oct 23, 2010
1 parent cf9166a commit a081188
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cake/console/shell_dispatcher.php
Expand Up @@ -136,7 +136,7 @@ function __bootstrap() {
define('APP_PATH', $this->params['working'] . DS);
define('WWW_ROOT', APP_PATH . $this->params['webroot'] . DS);
if (!is_dir(ROOT . DS . APP_DIR . DS . 'tmp')) {
define('TMP', CORE_PATH . 'cake' . DS . 'console' . DS . 'templates' . DS . 'skel' . DS . 'tmp' . DS);
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');
Expand All @@ -145,7 +145,7 @@ function __bootstrap() {
set_exception_handler(array('ConsoleErrorHandler', 'handleException'));

if (!file_exists(APP_PATH . 'config' . DS . 'core.php')) {
include_once CORE_PATH . 'cake' . DS . 'console' . DS . 'templates' . DS . 'skel' . DS . '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();
}
if (!defined('FULL_BASE_URL')) {
Expand Down

0 comments on commit a081188

Please sign in to comment.