aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/install_install.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2007-01-19 11:58:44 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2007-01-19 11:58:44 +0000
commit84c3a073dff69fc51c3975ff62de34e59b40f32c (patch)
tree41b7fd4f7077db3c0f5dadea84718681ac5bad04 /phpBB/install/install_install.php
parent2c4a82fdd3f1076b38c2bcb8e2b4ba2a19f96362 (diff)
downloadforums-84c3a073dff69fc51c3975ff62de34e59b40f32c.tar
forums-84c3a073dff69fc51c3975ff62de34e59b40f32c.tar.gz
forums-84c3a073dff69fc51c3975ff62de34e59b40f32c.tar.bz2
forums-84c3a073dff69fc51c3975ff62de34e59b40f32c.tar.xz
forums-84c3a073dff69fc51c3975ff62de34e59b40f32c.zip
some opendir/closedir fixes
git-svn-id: file:///svn/phpbb/trunk@6908 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/install/install_install.php')
-rwxr-xr-xphpBB/install/install_install.php3
1 files changed, 2 insertions, 1 deletions
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);
}
/**