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:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user