(cp 27caef885) fixes #2486 add stdPgs config tab in admin

This commit is contained in:
HWFord
2025-12-19 16:07:07 +01:00
parent 4ff398552e
commit 6858acda37
49 changed files with 4335 additions and 68 deletions
+4 -1
View File
@@ -373,7 +373,6 @@ SELECT
'mobile' => false,
);
$theme_data = implode('', file($path.'/themeconf.inc.php'));
if (preg_match("|Theme Name:\\s*(.+)|", $theme_data, $val))
{
$theme['name'] = trim( $val[1] );
@@ -419,6 +418,10 @@ SELECT
{
$theme['mobile'] = get_boolean($val[1]);
}
if (preg_match('/["\']use_standard_pages["\'].*?(true|false)/i', $theme_data, $val))
{
$theme['use_standard_pages'] = get_boolean($val[1]);
}
// screenshot
$screenshot_path = $path.'/screenshot.png';