mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
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:
parent
3dc9fee5c0
commit
5a5a542a71
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue