Author: mathias
Date: 2007-04-13 16:28:54 +0000 (Fri, 13 Apr 2007)
New Revision: 12638
Modified:
trunk/website/includes/common.inc.php
Log:
doh?
Modified: trunk/website/includes/common.inc.php
===================================================================
--- trunk/website/includes/common.inc.php 2007-04-13 16:27:33 UTC (rev
12637)
+++ trunk/website/includes/common.inc.php 2007-04-13 16:28:54 UTC (rev
12638)
@@ -42,9 +42,9 @@
if (isset($page))
{
#echo "common - page exists
".dirname(__FILE__).'/'.$page.'.inc.php';
- if (file_exists(dirname(__FILE__).'/'.$page.'.inc.php')) {
+ if (file_exists(dirname(__FILE__).$page.'.inc.php')) {
#echo "file exists";
- include dirname(__FILE__).'/'.$page.'.inc.php';
// include file with $pages-array
+ include dirname(__FILE__).$page.'.inc.php';
// include file with $pages-array
foreach ( $lang_q as $aLang => $relevance )
// loop through each language
{
foreach ( $pages as $userlang => $path )
// loop through each language-file
@@ -78,9 +78,9 @@
if (isset($page))
{
- if (file_exists(dirname(__FILE__).'/'.$page.'.inc.php'))
+ if (file_exists(dirname(__FILE__).$page.'.inc.php'))
{
- include dirname(__FILE__).'/'.$page.'.inc.php';
+ include dirname(__FILE__).$page.'.inc.php';
$out .= '<div id="additionalLang">:: ';