diff options
author | Vic D'Elfant <vic@phpbb.com> | 2008-02-25 13:07:41 +0000 |
---|---|---|
committer | Vic D'Elfant <vic@phpbb.com> | 2008-02-25 13:07:41 +0000 |
commit | 42073ab0afd5f442098289156fa596b379920c3b (patch) | |
tree | 03c04c35a3c356686391c64855fa5016b123269f | |
parent | a800565393cdfc254e538e591d52f67318ee314e (diff) | |
download | forums-42073ab0afd5f442098289156fa596b379920c3b.tar forums-42073ab0afd5f442098289156fa596b379920c3b.tar.gz forums-42073ab0afd5f442098289156fa596b379920c3b.tar.bz2 forums-42073ab0afd5f442098289156fa596b379920c3b.tar.xz forums-42073ab0afd5f442098289156fa596b379920c3b.zip |
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
-rw-r--r-- | phpBB/install/install_convert.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/install/install_convert.php b/phpBB/install/install_convert.php index c88471d1ca..105266f5ed 100644 --- a/phpBB/install/install_convert.php +++ b/phpBB/install/install_convert.php @@ -404,7 +404,7 @@ class install_convert extends module $error = array(); 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); } |