From 2e7c2d987cee60cf81197e0f581335eb1977e36e Mon Sep 17 00:00:00 2001 From: Bart van Bragt Date: Thu, 28 Nov 2002 21:33:13 +0000 Subject: [PATCH] Added $phpbb_root_path to language_select git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@3150 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/functions_selects.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/phpBB/includes/functions_selects.php b/phpBB/includes/functions_selects.php index 9207094348..f669b27499 100644 --- a/phpBB/includes/functions_selects.php +++ b/phpBB/includes/functions_selects.php @@ -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; } -?> \ No newline at end of file +?>