aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2002-01-07 19:01:08 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2002-01-07 19:01:08 +0000
commitaf4587e51d09f107bdadd5823fcf8a51616a861b (patch)
treec7d45583d45f21a2fa9aecf7c5cb576a0a3789db /phpBB/includes
parenteb86e9ba68c43275b62574c2d709333e49873734 (diff)
downloadforums-af4587e51d09f107bdadd5823fcf8a51616a861b.tar
forums-af4587e51d09f107bdadd5823fcf8a51616a861b.tar.gz
forums-af4587e51d09f107bdadd5823fcf8a51616a861b.tar.bz2
forums-af4587e51d09f107bdadd5823fcf8a51616a861b.tar.xz
forums-af4587e51d09f107bdadd5823fcf8a51616a861b.zip
Added / to dirname . file for is_file/links for language selector ...
git-svn-id: file:///svn/phpbb/trunk@1810 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index 898058e770..0730f7c430 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -744,7 +744,7 @@ function language_select($default, $select_name = "language", $dirname="language
$lang_select = "<select name=\"$select_name\">";
while($file = readdir($dir))
{
- if( ereg("^lang_", $file) && !is_file($dirname . $file) && !is_link($dirname . $file) )
+ if( ereg("^lang_", $file) && !is_file($dirname . "/" . $file) && !is_link($dirname . "/" . $file) )
{
$filename = str_replace("lang_", "", $file);