mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00: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:
parent
e8f76a0091
commit
2e7c2d987c
1 changed files with 3 additions and 3 deletions
|
@ -26,9 +26,9 @@
|
||||||
//
|
//
|
||||||
function language_select($default, $select_name = "language", $dirname="language")
|
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();
|
$lang = array();
|
||||||
while ( $file = readdir($dir) )
|
while ( $file = readdir($dir) )
|
||||||
|
@ -108,4 +108,4 @@ function tz_select($default, $select_name = 'timezone')
|
||||||
return $tz_select;
|
return $tz_select;
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Add table
Reference in a new issue