Making the console define a FULL_BASE_URL so tests run properly.

This commit is contained in:
mark_story 2010-09-19 20:38:16 -04:00
parent 973841a264
commit 608ea6df42

View file

@ -264,6 +264,9 @@ class ShellDispatcher {
include_once CORE_PATH . 'cake' . DS . 'console' . DS . 'templates' . DS . 'skel' . DS . 'config' . DS . 'core.php';
App::build();
}
if (!defined('FULL_BASE_URL')) {
define('FULL_BASE_URL', '/');
}
return true;
}