diff options
Diffstat (limited to 'phpBB/phpbb/filesystem')
| -rw-r--r-- | phpBB/phpbb/filesystem/filesystem.php | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/phpBB/phpbb/filesystem/filesystem.php b/phpBB/phpbb/filesystem/filesystem.php index bfafdf5ddd..c5be284d8c 100644 --- a/phpBB/phpbb/filesystem/filesystem.php +++ b/phpBB/phpbb/filesystem/filesystem.php @@ -835,7 +835,7 @@ class filesystem implements filesystem_interface  				$current_path = $resolved_path . '/' . $path_part;  				// Resolve symlinks -				if (is_link($current_path)) +				if (@is_link($current_path))  				{  					if (!function_exists('readlink'))  					{ @@ -872,12 +872,12 @@ class filesystem implements filesystem_interface  					$resolved_path = false;  				} -				else if (is_dir($current_path . '/')) +				else if (@is_dir($current_path . '/'))  				{  					$resolved[] = $path_part;  					$resolved_path = $current_path;  				} -				else if (is_file($current_path)) +				else if (@is_file($current_path))  				{  					$resolved[] = $path_part;  					$resolved_path = $current_path; | 
