Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Avoid noticed that TMP is defined. Can be possibly defined in cake.php

  • Loading branch information...
commit 9c113247de151a15340231013926ed08fd8f61ee 1 parent aee8b50
@sime sime authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/Cake/Console/ShellDispatcher.php
View
2  lib/Cake/Console/ShellDispatcher.php
@@ -123,7 +123,7 @@ protected function _bootstrap() {
define('APP_DIR', $this->params['app']);
define('APP', $this->params['working'] . DS);
define('WWW_ROOT', APP . $this->params['webroot'] . DS);
- if (!is_dir(ROOT . DS . APP_DIR . DS . 'tmp')) {
+ if (!is_dir(ROOT . DS . APP_DIR . DS . 'tmp') && !defined('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');
Please sign in to comment.
Something went wrong with that request. Please try again.