mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 12:48:24 +01:00
Issue #4120 Check for outdated bootstrap path.
This commit is contained in:
parent
1fbb3c5a5c
commit
e8dcda855e
@ -25,11 +25,12 @@ 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 = e107::getLibrary()->load('bootstrap'))
|
||||
{
|
||||
|
||||
if($info['path'] !== '3')
|
||||
{
|
||||
e107::getCache()->clearAll('system');
|
||||
e107::getCache()->clearAll('library');
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user