aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/acp')
-rw-r--r--phpBB/includes/acp/acp_styles.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/phpBB/includes/acp/acp_styles.php b/phpBB/includes/acp/acp_styles.php
index 686ecb2a5f..91b185c52b 100644
--- a/phpBB/includes/acp/acp_styles.php
+++ b/phpBB/includes/acp/acp_styles.php
@@ -2051,6 +2051,18 @@ parse_css_file = {PARSE_CSS_FILE}
$error[] = $user->lang['EDIT_' . strtoupper($mode) . '_STORED_DB'];
$store_db = 1;
}
+
+ // themes which have to be parsed have to go into db
+ if ($mode == 'theme')
+ {
+ $cfg = parse_cfg_file("{$phpbb_root_path}styles/" . $style_row["{$mode}_path"] . "/theme/theme.cfg");
+
+ if (isset($cfg['parse_css_file']) && $cfg['parse_css_file'])
+ {
+ $error[] = $user->lang['EDIT_THEME_STORE_PARSED'];
+ $store_db = 1;
+ }
+ }
}
if (!sizeof($error))