1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

This is what I needed to finish to make phpBB compatible with PHP

4.2.3/Apache2.  I dunno exactly why it won't work as-is, but this patch
should fix it.  I will do minor testing here.


git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@3151 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
dougk_ff7
2002-11-29 05:46:17 +00:00
parent 2e7c2d987c
commit d37ab45ff3
7 changed files with 11 additions and 11 deletions

View File

@@ -36,7 +36,7 @@ $dir = opendir($dirname);
while ( $file = readdir($dir) )
{
if ( ereg("^lang_", $file) && !is_file($dirname . "/" . $file) && !is_link($dirname . "/" . $file) )
if ( ereg("^lang_", $file) && !is_file(realpath($dirname . "/" . $file)) && !is_link(realpath($dirname . "/" . $file)) )
{
foreach($vars as $lang_file => $lang_var)
{