From 3f909e9a00170ff4926036c009717af9b53fbab4 Mon Sep 17 00:00:00 2001 From: bancer Date: Thu, 21 Feb 2019 17:18:15 +0100 Subject: [PATCH] Define CONFIG constant --- lib/Cake/Console/ShellDispatcher.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/Cake/Console/ShellDispatcher.php b/lib/Cake/Console/ShellDispatcher.php index 161c1b2aa..5249008ea 100644 --- a/lib/Cake/Console/ShellDispatcher.php +++ b/lib/Cake/Console/ShellDispatcher.php @@ -140,6 +140,9 @@ class ShellDispatcher { define('TMP', CAKE_CORE_INCLUDE_PATH . DS . 'Cake' . DS . 'Console' . DS . 'Templates' . DS . 'skel' . DS . 'tmp' . DS); } + if (!defined('CONFIG')) { + define('CONFIG', ROOT . DS . APP_DIR . DS . 'Config' . DS); + } // $boot is used by Cake/bootstrap.php file $boot = file_exists(CONFIG . 'bootstrap.php'); require CORE_PATH . 'Cake' . DS . 'bootstrap.php';