mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 22:40:39 +02:00
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:
@@ -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);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user