Skip to content

Commit

Permalink
Giving a useful value to FULL_BASE_URL in CLI if it doesn't get defin…
Browse files Browse the repository at this point in the history
…ed by the developer.
  • Loading branch information
markstory committed May 11, 2011
1 parent 339db40 commit 011aeae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/Console/ShellDispatcher.php
Expand Up @@ -141,7 +141,7 @@ function __bootstrap() {
set_error_handler(array('ConsoleErrorHandler', 'handleError'), Configure::read('Error.level'));

if (!defined('FULL_BASE_URL')) {
define('FULL_BASE_URL', '/');
define('FULL_BASE_URL', 'http://localhost');
}

return true;
Expand Down

0 comments on commit 011aeae

Please sign in to comment.