1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-07 07:06:30 +02:00

Improve speed in admin area. Clear caching only on admin home page and e107 update page.

This commit is contained in:
Cameron
2020-12-19 11:12:53 -08:00
parent 3bc98186a9
commit 6fb33e7cad
3 changed files with 6 additions and 2 deletions

View File

@@ -8,6 +8,7 @@
*
*/
define('e_ADMIN_HOME', true); // used by some admin shortcodes and class2.
require_once('../class2.php');
@@ -70,7 +71,7 @@ if(in_array($pref['adminstyle'], array('infopanel', 'flexpanel')))
//e107::getSession()->clear('addons-update-status');
//e107::getSession()->set('addons-update-checked',false); // set to recheck it.
define('e_ADMIN_HOME', true); // used by some admin shortcodes.
require_once(e_ADMIN.'boot.php');
require_once(e_HANDLER.'upload_handler.php');