mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 11:06:15 +00:00
Merge pull request #5239 from cakephp/issue-5229
Fix file_map being regenerated on every request.
This commit is contained in:
commit
08674bae2b
1 changed files with 2 additions and 2 deletions
|
@ -148,6 +148,8 @@ App::uses('Cache', 'Cache');
|
|||
App::uses('Object', 'Core');
|
||||
App::uses('Multibyte', 'I18n');
|
||||
|
||||
App::$bootstrapping = true;
|
||||
|
||||
/**
|
||||
* Full URL prefix
|
||||
*/
|
||||
|
@ -170,8 +172,6 @@ Configure::write('App.imageBaseUrl', IMAGES_URL);
|
|||
Configure::write('App.cssBaseUrl', CSS_URL);
|
||||
Configure::write('App.jsBaseUrl', JS_URL);
|
||||
|
||||
App::$bootstrapping = true;
|
||||
|
||||
Configure::bootstrap(isset($boot) ? $boot : true);
|
||||
|
||||
if (function_exists('mb_internal_encoding')) {
|
||||
|
|
Loading…
Add table
Reference in a new issue