mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
- fix some bugs in the theme editor
git-svn-id: file:///svn/phpbb/trunk@5955 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -939,7 +939,7 @@ pagination_sep = \'{PAGINATION_SEP}\'
|
||||
|
||||
case 'images':
|
||||
$value = str_replace('..', '.', request_var($var, ''));
|
||||
if (!file_exists($value))
|
||||
if (!file_exists("{$phpbb_root_path}styles/{$theme_info['theme_path']}/theme/" . $value))
|
||||
{
|
||||
$value = '';
|
||||
}
|
||||
|
Reference in New Issue
Block a user