From ff31792e8dfc93c13097e97a95c38c83c923469d Mon Sep 17 00:00:00 2001 From: Jose Lorenzo Rodriguez Date: Mon, 7 Mar 2011 00:34:36 -0430 Subject: [PATCH] Fixing paths in test.php file --- app/webroot/test.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/webroot/test.php b/app/webroot/test.php index 5b667a0ff..deef49aa5 100644 --- a/app/webroot/test.php +++ b/app/webroot/test.php @@ -49,7 +49,7 @@ ini_set('display_errors', 1); * */ if (!defined('CAKE_CORE_INCLUDE_PATH')) { - define('CAKE_CORE_INCLUDE_PATH', ROOT . DS .'lib'); + define('CAKE_CORE_INCLUDE_PATH', ROOT); } /** @@ -65,7 +65,7 @@ if (!defined('WWW_ROOT')) { } if (!defined('CORE_PATH')) { define('APP_PATH', ROOT . DS . APP_DIR . DS); - define('CORE_PATH', CAKE_CORE_INCLUDE_PATH . DS); + define('CORE_PATH', CAKE_CORE_INCLUDE_PATH . DS . 'lib' . DS); } if (!include(CORE_PATH . 'Cake' . DS . 'bootstrap.php')) { trigger_error("CakePHP core could not be found. Check the value of CAKE_CORE_INCLUDE_PATH in APP/webroot/index.php. It should point to the directory containing your " . DS . "cake core directory and your " . DS . "vendors root directory.", E_USER_ERROR);