mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Move where set is loaded.
2.1 expects that Configure will load Set.
This commit is contained in:
parent
8d1b5c3f24
commit
e3b124516f
2 changed files with 4 additions and 4 deletions
|
@ -15,6 +15,10 @@
|
|||
|
||||
App::uses('Hash', 'Utility');
|
||||
App::uses('ConfigReaderInterface', 'Configure');
|
||||
/**
|
||||
* Compatibility with 2.1, which expects Configure to load Set.
|
||||
*/
|
||||
App::uses('Set', 'Utility');
|
||||
|
||||
/**
|
||||
* Configuration class. Used for managing runtime configuration information.
|
||||
|
|
|
@ -141,10 +141,6 @@ 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