1
0
mirror of https://github.com/e107inc/e107.git synced 2025-09-01 18:32:44 +02:00

updated themes to use e107::library(). e107::getCache()->clearAll() now accepts 'library' as an option.

This commit is contained in:
Cameron
2017-01-29 15:10:32 -08:00
parent 8c542c9e82
commit 8c507c964d
10 changed files with 123 additions and 76 deletions

View File

@@ -34,7 +34,7 @@ class theme_library
{
$bootswatch = e107::pref('theme', 'bootswatch', false);
if($bootswatch)
if(!empty($bootswatch))
{
// Disable Bootstrap CSS.
unset($libraries['cdn.bootstrap']['files']['css']);