mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00: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:
parent
205c3245a5
commit
80168f9260
1 changed files with 1 additions and 1 deletions
|
@ -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 = '';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue