- 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:
Nils Adermann 2006-05-21 01:24:56 +00:00
parent 205c3245a5
commit 80168f9260

View file

@ -939,7 +939,7 @@ pagination_sep = \'{PAGINATION_SEP}\'
case 'images': case 'images':
$value = str_replace('..', '.', request_var($var, '')); $value = str_replace('..', '.', request_var($var, ''));
if (!file_exists($value)) if (!file_exists("{$phpbb_root_path}styles/{$theme_info['theme_path']}/theme/" . $value))
{ {
$value = ''; $value = '';
} }