From 608ea6df42763210387407a86a41d1d65bacd163 Mon Sep 17 00:00:00 2001 From: mark_story Date: Sun, 19 Sep 2010 20:38:16 -0400 Subject: [PATCH] Making the console define a FULL_BASE_URL so tests run properly. --- cake/console/cake.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cake/console/cake.php b/cake/console/cake.php index 472987c46..ef32c7538 100644 --- a/cake/console/cake.php +++ b/cake/console/cake.php @@ -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; }