From 42073ab0afd5f442098289156fa596b379920c3b Mon Sep 17 00:00:00 2001 From: Vic D'Elfant Date: Mon, 25 Feb 2008 13:07:41 +0000 Subject: [PATCH] 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 --- phpBB/install/install_convert.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }