1
0
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:
Cameron 2020-05-12 15:21:20 -07:00
parent 1fbb3c5a5c
commit e8dcda855e

View File

@ -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');
}
}