mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-05 01:12:29 +02:00
feature 1605: ability to forbid theme activation, needed for gally-default.
git-svn-id: http://piwigo.org/svn/trunk@5874 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user