mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Remove dead code
This commit is contained in:
parent
9425234b87
commit
bf908762db
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ class ShellDispatcher {
|
||||||
if (!defined('TMP') && !is_dir(APP . 'tmp')) {
|
if (!defined('TMP') && !is_dir(APP . 'tmp')) {
|
||||||
define('TMP', CAKE_CORE_INCLUDE_PATH . DS . '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');
|
|
||||||
require CORE_PATH . 'Cake' . DS . 'bootstrap.php';
|
require CORE_PATH . 'Cake' . DS . 'bootstrap.php';
|
||||||
|
|
||||||
if (!file_exists(APP . 'Config' . DS . 'core.php')) {
|
if (!file_exists(APP . 'Config' . DS . 'core.php')) {
|
||||||
|
|
Loading…
Reference in a new issue