aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVic D'Elfant <vic@phpbb.com>2008-02-25 13:07:41 +0000
committerVic D'Elfant <vic@phpbb.com>2008-02-25 13:07:41 +0000
commit42073ab0afd5f442098289156fa596b379920c3b (patch)
tree03c04c35a3c356686391c64855fa5016b123269f
parenta800565393cdfc254e538e591d52f67318ee314e (diff)
downloadforums-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.php2
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);
}