mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 03:40:37 +02:00
Issue #4120 Check for outdated bootstrap path.
This commit is contained in:
@@ -25,11 +25,12 @@ if(varset($_GET['mode']) == 'customize')
|
|||||||
}
|
}
|
||||||
|
|
||||||
// check that the bootstrap library path is up-to-date before the header is loaded.
|
// 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')
|
if($info['path'] !== '3')
|
||||||
{
|
{
|
||||||
e107::getCache()->clearAll('system');
|
e107::getCache()->clearAll('library');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user