This will prevent a php warning from being printed (and the layout getting ruined) in case of a conflicting permission restriction such as open_basedir

git-svn-id: file:///svn/phpbb/trunk@8401 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Vic D'Elfant 2008-02-25 13:07:41 +00:00
parent a800565393
commit 42073ab0af

View file

@ -404,7 +404,7 @@ class install_convert extends module
$error = array(); $error = array();
if ($submit) if ($submit)
{ {
if (!file_exists('./../' . $forum_path . '/' . $test_file)) if (!@file_exists('./../' . $forum_path . '/' . $test_file))
{ {
$error[] = sprintf($lang['COULD_NOT_FIND_PATH'], $forum_path); $error[] = sprintf($lang['COULD_NOT_FIND_PATH'], $forum_path);
} }