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;
}