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/branches/phpBB-3_0_0@8400 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Vic D'Elfant 2008-02-25 13:04:49 +00:00
parent a7ad9b5ae2
commit b4ca6fdc4e

View file

@ -407,7 +407,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);
} }