1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +02:00

Added $phpbb_root_path to language_select

git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@3150 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Bart van Bragt
2002-11-28 21:33:13 +00:00
parent e8f76a0091
commit 2e7c2d987c

View File

@@ -26,9 +26,9 @@
//
function language_select($default, $select_name = "language", $dirname="language")
{
global $phpEx;
global $phpEx, $phpbb_root_path;
$dir = opendir($dirname);
$dir = opendir($phpbb_root_path . $dirname);
$lang = array();
while ( $file = readdir($dir) )
@@ -108,4 +108,4 @@ function tz_select($default, $select_name = 'timezone')
return $tz_select;
}
?>
?>