mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Add compatibility for 2.1.
Set always needs to be loaded, as that's how 2.1 worked.
This commit is contained in:
parent
a76a926ac1
commit
c7a9f3412f
1 changed files with 5 additions and 0 deletions
|
@ -141,6 +141,11 @@ App::$bootstrapping = true;
|
|||
|
||||
Configure::bootstrap(isset($boot) ? $boot : true);
|
||||
|
||||
/**
|
||||
* Compatibility with 2.1, which expects Set to always be autoloaded.
|
||||
*/
|
||||
App::uses('Set', 'Utilty');
|
||||
|
||||
/**
|
||||
* Full url prefix
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue