mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08: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/branches/phpBB-3_0_0@8400 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
a7ad9b5ae2
commit
b4ca6fdc4e
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue