mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +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)
|
* @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.
|
* Abstract base class for all other Helpers in CakePHP.
|
||||||
* Provides common methods and features.
|
* Provides common methods and features.
|
||||||
|
|
Loading…
Reference in a new issue