Minor changes, trying to get it working on my test server

git-svn-id: file:///svn/phpbb/trunk@2993 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Ludovic Arnaud 2002-10-31 03:20:54 +00:00
parent 8f0890acd1
commit 29f583c626
2 changed files with 7 additions and 4 deletions

View file

@ -331,13 +331,16 @@ function language_select($default, $select_name = "language", $dirname="language
$user = array();
while ( $file = readdir($dir) )
{
if ( file_exists($dirname . '/' . $file . '/iso.txt') )
if (!is_dir($dirname . '/' . $file))
{
continue;
}
if ( @file_exists($dirname . '/' . $file . '/iso.txt') )
{
list($displayname) = file($dirname . '/' . $file . '/iso.txt');
$lang[$displayname] = $dirname . '/' . $file;
$lang[$displayname] = $file;
}
}
@closedir($dir);
@asort($lang);

View file

@ -536,7 +536,7 @@ else
);
$template->pparse('body'); */
exit;
die("Error during installation: no $check_exts extension");
}
include($phpbb_root_path . 'db/' . $dbms . '.' . $phpEx);