mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-03 07:18:08 +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:
@@ -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) )
|
||||||
|
Reference in New Issue
Block a user