1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +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:
Paul S. Owen
2002-12-21 19:09:57 +00:00
parent 6f9d59a4a6
commit 5d8b228bb0
11 changed files with 33 additions and 37 deletions

View File

@@ -205,7 +205,7 @@ function guess_lang()
{
if (preg_match('#' . $match . '#i', trim($accept_lang_ary[$i])))
{
if (file_exists(@realpath($phpbb_root_path . 'language/lang_' . $lang)))
if (file_exists(@phpbb_realpath($phpbb_root_path . 'language/lang_' . $lang)))
{
return $lang;
}
@@ -435,7 +435,7 @@ else
}
// Open config.php ... if it exists
if (@file_exists(@realpath('config.'.$phpEx)))
if (@file_exists(@phpbb_realpath('config.'.$phpEx)))
{
include($phpbb_root_path.'config.'.$phpEx);
}