From 84c3a073dff69fc51c3975ff62de34e59b40f32c Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Fri, 19 Jan 2007 11:58:44 +0000 Subject: some opendir/closedir fixes git-svn-id: file:///svn/phpbb/trunk@6908 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/install/install_install.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'phpBB/install/install_install.php') diff --git a/phpBB/install/install_install.php b/phpBB/install/install_install.php index 829c21d29a..74c476649a 100755 --- a/phpBB/install/install_install.php +++ b/phpBB/install/install_install.php @@ -1603,7 +1603,7 @@ class install_install extends module { global $db, $lang, $phpbb_root_path, $phpEx; - $dir = @opendir($phpbb_root_path . 'language'); + $dir = opendir($phpbb_root_path . 'language'); while (($file = readdir($dir)) !== false) { $path = $phpbb_root_path . 'language/' . $file; @@ -1629,6 +1629,7 @@ class install_install extends module } } } + closedir($dir); } /** -- cgit v1.2.1