Merge pull request #5239 from cakephp/issue-5229

Fix file_map being regenerated on every request.
This commit is contained in:
José Lorenzo Rodríguez 2014-11-23 03:31:26 +01:00
commit 08674bae2b

View file

@ -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')) {