mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-12 03:34:04 +02:00
"Fix" for realpath and Lycos?
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@3222 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -230,7 +230,7 @@ class Template {
|
||||
// Check if it's an absolute or relative path.
|
||||
if (substr($filename, 0, 1) != '/')
|
||||
{
|
||||
$filename = realpath($this->root . '/' . $filename);
|
||||
$filename = phpbb_realpath($this->root . '/' . $filename);
|
||||
}
|
||||
|
||||
if (!file_exists($filename))
|
||||
|
Reference in New Issue
Block a user