Skip to content

Commit

Permalink
Fixing paths location in cake.php files
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed Dec 20, 2010
1 parent 827a74b commit 5fa0288
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/console/cake.php
Expand Up @@ -20,6 +20,6 @@
* @since CakePHP(tm) v 1.2.0.5012
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/
require_once(dirname(dirname(dirname(__FILE__))) . DIRECTORY_SEPARATOR . 'cake' . DIRECTORY_SEPARATOR . 'console' . DIRECTORY_SEPARATOR . 'shell_dispatcher.php');
require_once(dirname(dirname(dirname(__FILE__))) . DIRECTORY_SEPARATOR . 'lib'. DIRECTORY_SEPARATOR . 'Cake' . DIRECTORY_SEPARATOR . 'Console' . DIRECTORY_SEPARATOR . 'ShellDispatcher.php');

return ShellDispatcher::run($argv);
3 changes: 2 additions & 1 deletion lib/Cake/Console/templates/skel/console/cake.php
Expand Up @@ -20,6 +20,7 @@
* @since CakePHP(tm) v 1.2.0.5012
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/
require_once(__CAKE_PATH__ . 'shell_dispatcher.php');
require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR. 'ShellDispatcher.php');

return ShellDispatcher::run($argv);

0 comments on commit 5fa0288

Please sign in to comment.