From b4ca6fdc4e322470f3dae9eb98c3595a841fcb77 Mon Sep 17 00:00:00 2001 From: Vic D'Elfant Date: Mon, 25 Feb 2008 13:04:49 +0000 Subject: 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 --- 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 7a2adf8ffd..081b1a6c31 100644 --- a/phpBB/install/install_convert.php +++ b/phpBB/install/install_convert.php @@ -407,7 +407,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); } -- cgit v1.2.1