Missing ini_set of include path for test.php

Fixes #2167

Signed-off-by: mark_story <mark@mark-story.com>
This commit is contained in:
m 2011-10-26 03:34:11 +02:00 committed by mark_story
parent 3dc9fee5c0
commit 5a5a542a71

View file

@ -68,6 +68,9 @@ if (!defined('WWW_ROOT')) {
}
if (!defined('CAKE_CORE_INCLUDE_PATH')) {
if (function_exists('ini_set')) {
ini_set('include_path', ROOT . DS . 'lib' . PATH_SEPARATOR . ini_get('include_path'));
}
if (!include('Cake' . DS . 'bootstrap.php')) {
$failed = true;
}