mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
Making the console define a FULL_BASE_URL so tests run properly.
This commit is contained in:
parent
973841a264
commit
608ea6df42
1 changed files with 3 additions and 0 deletions
|
@ -264,6 +264,9 @@ class ShellDispatcher {
|
||||||
include_once CORE_PATH . 'cake' . DS . 'console' . DS . 'templates' . DS . 'skel' . DS . 'config' . DS . 'core.php';
|
include_once CORE_PATH . 'cake' . DS . 'console' . DS . 'templates' . DS . 'skel' . DS . 'config' . DS . 'core.php';
|
||||||
App::build();
|
App::build();
|
||||||
}
|
}
|
||||||
|
if (!defined('FULL_BASE_URL')) {
|
||||||
|
define('FULL_BASE_URL', '/');
|
||||||
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue