mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00: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/trunk@8401 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
a800565393
commit
42073ab0af
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue