mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 14:46:56 +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:
@@ -322,6 +322,7 @@ else
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$e_js->renderLinks();
|
||||||
|
|
||||||
//
|
//
|
||||||
// Render CSS - all in once
|
// Render CSS - all in once
|
||||||
@@ -350,7 +351,7 @@ unset($CSSORDER);
|
|||||||
|
|
||||||
$e_js->renderCached('css');
|
$e_js->renderCached('css');
|
||||||
|
|
||||||
$e_js->renderLinks();
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
$e_js->renderJs('other_css', false, 'css', false);
|
$e_js->renderJs('other_css', false, 'css', false);
|
||||||
|
@@ -70,7 +70,12 @@ class _system_cron
|
|||||||
|
|
||||||
$fl->chmod(e_BASE."cron.php",0755);
|
$fl->chmod(e_BASE."cron.php",0755);
|
||||||
$fl->chmod(e_HANDLER."bounce_handler.php",0755);
|
$fl->chmod(e_HANDLER."bounce_handler.php",0755);
|
||||||
|
|
||||||
e107::getCache()->clearAll('system');
|
e107::getCache()->clearAll('system');
|
||||||
|
e107::getCache()->clearAll('css');
|
||||||
|
e107::getCache()->clearAll('js');
|
||||||
|
e107::getCache()->clearAll('library');
|
||||||
|
e107::getCache()->clearAll('browser');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user