mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-29 06:38:52 +00:00
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:
parent
8f0890acd1
commit
29f583c626
2 changed files with 7 additions and 4 deletions
|
@ -331,13 +331,16 @@ function language_select($default, $select_name = "language", $dirname="language
|
||||||
$user = array();
|
$user = array();
|
||||||
while ( $file = readdir($dir) )
|
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');
|
list($displayname) = file($dirname . '/' . $file . '/iso.txt');
|
||||||
$lang[$displayname] = $dirname . '/' . $file;
|
$lang[$displayname] = $file;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@closedir($dir);
|
@closedir($dir);
|
||||||
|
|
||||||
@asort($lang);
|
@asort($lang);
|
||||||
|
|
|
@ -536,7 +536,7 @@ else
|
||||||
);
|
);
|
||||||
$template->pparse('body'); */
|
$template->pparse('body'); */
|
||||||
|
|
||||||
exit;
|
die("Error during installation: no $check_exts extension");
|
||||||
}
|
}
|
||||||
|
|
||||||
include($phpbb_root_path . 'db/' . $dbms . '.' . $phpEx);
|
include($phpbb_root_path . 'db/' . $dbms . '.' . $phpEx);
|
||||||
|
|
Loading…
Add table
Reference in a new issue