diff options
author | Vic D'Elfant <vic@phpbb.com> | 2008-02-25 13:04:49 +0000 |
---|---|---|
committer | Vic D'Elfant <vic@phpbb.com> | 2008-02-25 13:04:49 +0000 |
commit | b4ca6fdc4e322470f3dae9eb98c3595a841fcb77 (patch) | |
tree | 90f59f5ddfea7442b87583bd38f5ea0c7a0d965d /phpBB/install | |
parent | a7ad9b5ae2e145a88d2acb0917162a3973337530 (diff) | |
download | forums-b4ca6fdc4e322470f3dae9eb98c3595a841fcb77.tar forums-b4ca6fdc4e322470f3dae9eb98c3595a841fcb77.tar.gz forums-b4ca6fdc4e322470f3dae9eb98c3595a841fcb77.tar.bz2 forums-b4ca6fdc4e322470f3dae9eb98c3595a841fcb77.tar.xz forums-b4ca6fdc4e322470f3dae9eb98c3595a841fcb77.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/branches/phpBB-3_0_0@8400 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/install')
-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 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); } |