diff options
Diffstat (limited to 'admin/include')
-rw-r--r-- | admin/include/themes.class.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/admin/include/themes.class.php b/admin/include/themes.class.php index cf81fb54e..832110e8e 100644 --- a/admin/include/themes.class.php +++ b/admin/include/themes.class.php @@ -382,6 +382,10 @@ SELECT { $theme['parent'] = $val[1]; } + if (preg_match('/["\']activable["\'].*?(true|false)/', $theme_data, $val)) + { + $theme['activable'] = get_boolean($val[1]); + } // screenshot $screenshot_path = $path.'/screenshot.png'; |