Merge pull request #3759 from dereuromark/master-core-dispatcher

make coredispatcher fully BC again
This commit is contained in:
José Lorenzo Rodríguez 2014-06-20 14:48:14 +02:00
commit 6a8033aea2

View file

@ -81,6 +81,9 @@ class ShellDispatcher {
if (!defined('CAKE_CORE_INCLUDE_PATH')) {
define('CAKE_CORE_INCLUDE_PATH', dirname(dirname(dirname(__FILE__))));
define('CAKEPHP_SHELL', true);
if (!defined('DS')) {
define('DS', DIRECTORY_SEPARATOR);
}
if (!defined('CORE_PATH')) {
define('CORE_PATH', CAKE_CORE_INCLUDE_PATH . DS);
}