mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-20 23:41:29 +02:00
- search result extract shouldn't end in the middle of a multibyte character [Bug #11863]
- missing localisation for an imageset shouldn't create lots of "imageset refreshed" log messages [Bug #12027] - explain that themes which need parsing cannot be stored on the filesystem [Bug #11134] - normalize usernames (we really need to make sure we normalize everything) - improved utf8_clean_string, more complete list of homographs and NFKC normalization, also the resulting string is now trimmed - corrected searching subforums explanation [Bug #12209] git-svn-id: file:///svn/phpbb/trunk@7890 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -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))
|
||||
|
Reference in New Issue
Block a user