mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Adding import to Helper so its tests run in CLI.
This commit is contained in:
parent
10be0e5c6b
commit
5c076d44db
1 changed files with 4 additions and 0 deletions
|
@ -20,6 +20,10 @@
|
|||
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
|
||||
*/
|
||||
|
||||
if (!class_exists('Router')) {
|
||||
App::import('Core', 'Router');
|
||||
}
|
||||
|
||||
/**
|
||||
* Abstract base class for all other Helpers in CakePHP.
|
||||
* Provides common methods and features.
|
||||
|
|
Loading…
Reference in a new issue