mirror of
https://github.com/e107inc/e107.git
synced 2025-07-30 19:30:25 +02:00
Issue #4120 Check for outdated bootstrap path. Additional testing needed.
This commit is contained in:
@@ -24,6 +24,14 @@ if(varset($_GET['mode']) == 'customize')
|
||||
}
|
||||
}
|
||||
|
||||
// check that the bootstrap library path is up-to-date before the header is loaded.
|
||||
if($info = e107::getLibrary()->info('bootstrap'))
|
||||
{
|
||||
if($info['path'] !== '3')
|
||||
{
|
||||
e107::getCache()->clearAll('system');
|
||||
}
|
||||
}
|
||||
|
||||
include_once(e107::coreTemplatePath('admin_icons')); // Needs to be loaded before infopanel AND in boot.php
|
||||
|
||||
|
Reference in New Issue
Block a user