Skip to content
Permalink
Browse files

make coredispatcher fully BC again

  • Loading branch information...
dereuromark committed Jun 20, 2014
1 parent 282a5d1 commit d81d568cc0d1659a7e83805f1300b355d5d7e9d9
Showing with 3 additions and 0 deletions.
  1. +3 −0 lib/Cake/Console/ShellDispatcher.php
@@ -81,6 +81,9 @@ protected function _initConstants() {
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);
}

0 comments on commit d81d568

Please sign in to comment.
You can’t perform that action at this time.