From: Vic D'E. <vi...@ph...> - 2008-02-25 13:05:13
|
Author: vic Date: Mon Feb 25 14:04:49 2008 New Revision: 8400 Log: 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 Modified: branches/phpBB-3_0_0/phpBB/install/install_convert.php Modified: branches/phpBB-3_0_0/phpBB/install/install_convert.php ============================================================================== *** branches/phpBB-3_0_0/phpBB/install/install_convert.php (original) --- branches/phpBB-3_0_0/phpBB/install/install_convert.php Mon Feb 25 14:04:49 2008 *************** *** 407,413 **** $error = array(); if ($submit) { ! if (!file_exists('./../' . $forum_path . '/' . $test_file)) { $error[] = sprintf($lang['COULD_NOT_FIND_PATH'], $forum_path); } --- 407,413 ---- $error = array(); if ($submit) { ! if (!@file_exists('./../' . $forum_path . '/' . $test_file)) { $error[] = sprintf($lang['COULD_NOT_FIND_PATH'], $forum_path); } |