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:
@@ -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']);
|
||||
|
Reference in New Issue
Block a user