[freenet-cvs] r18858 - trunk/website/includes
NEOatNHNG at freenetproject.org
NEOatNHNG at freenetproject.org
Sun Mar 30 12:53:31 UTC 2008
Author: NEOatNHNG
Date: 2008-03-30 12:53:31 +0000 (Sun, 30 Mar 2008)
New Revision: 18858
Modified:
trunk/website/includes/common.inc.php
Log:
Fix language fork
Modified: trunk/website/includes/common.inc.php
===================================================================
--- trunk/website/includes/common.inc.php 2008-03-30 12:13:52 UTC (rev 18857)
+++ trunk/website/includes/common.inc.php 2008-03-30 12:53:31 UTC (rev 18858)
@@ -51,7 +51,7 @@
{
if ($aLang == $userlang) { // if we have a match, set file-include to $path
$file = $path;
- if (file_exists($_SERVER['DOCUMENT_ROOT'].$file)) // if file exists, break loop
+ if (file_exists($_SERVER['DOCUMENT_ROOT'].'/'.$file)) // if file exists, break loop
{
break 2;
}
More information about the cvs
mailing list