1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-22 13:41:52 +02:00

Header now loads link tags sooner. (excluding css)

Clear js/css/browser/library cache automatically after git update.
This commit is contained in:
Cameron 2020-12-03 11:00:53 -08:00
parent 69cb52e848
commit 3a78603ebd
2 changed files with 7 additions and 1 deletions

View File

@ -322,6 +322,7 @@ else
}
}
$e_js->renderLinks();
//
// Render CSS - all in once
@ -350,7 +351,7 @@ unset($CSSORDER);
$e_js->renderCached('css');
$e_js->renderLinks();
/*
$e_js->renderJs('other_css', false, 'css', false);

View File

@ -70,7 +70,12 @@ class _system_cron
$fl->chmod(e_BASE."cron.php",0755);
$fl->chmod(e_HANDLER."bounce_handler.php",0755);
e107::getCache()->clearAll('system');
e107::getCache()->clearAll('css');
e107::getCache()->clearAll('js');
e107::getCache()->clearAll('library');
e107::getCache()->clearAll('browser');
}