Skip to content

Commit

Permalink
Fixing notices introduced in last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed Jul 8, 2010
1 parent 7b51feb commit d5c51b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cake/console/cake.php
Expand Up @@ -158,7 +158,7 @@ function __initConstants() {
define('DISABLE_DEFAULT_ERROR_HANDLING', false);
define('CAKEPHP_SHELL', true);
if (!defined('CORE_PATH')) {
if (function_exists('ini_set') && ini_set('include_path', CAKE_CORE_INCLUDE_PATH . PATH_SEPARATOR . ROOT . DS . APP_DIR . DS . PATH_SEPARATOR . ini_get('include_path'))) {
if (function_exists('ini_set') && ini_set('include_path', CAKE_CORE_INCLUDE_PATH . PATH_SEPARATOR . ini_get('include_path'))) {
define('CORE_PATH', null);
} else {
define('CORE_PATH', CAKE_CORE_INCLUDE_PATH . DS);
Expand Down

0 comments on commit d5c51b9

Please sign in to comment.