fix wiki
authorx2001corpet <x2001corpet@839d8a87-29fc-0310-9880-83ba4fa771e5>
Sun, 30 Jul 2006 11:35:36 +0000 (11:35 +0000)
committerx2001corpet <x2001corpet@839d8a87-29fc-0310-9880-83ba4fa771e5>
Sun, 30 Jul 2006 11:35:36 +0000 (11:35 +0000)
git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@716 839d8a87-29fc-0310-9880-83ba4fa771e5

htdocs.net/index.php
htdocs/index.php

index 8501a8d..a6d95b3 100644 (file)
@@ -26,7 +26,7 @@ require 'xnet.inc.php';
 require_once dirname(__FILE__).'/../classes/Xnet.php';
 require_once dirname(__FILE__).'/../classes/PLModule.php';
 
-if ($path = Env::v('n') && substr($path, 0, 4) != 'Xnet') {
+if (($path = Env::v('n')) && substr($path, 0, 4) != 'Xnet') {
 
     $platal = new Xnet('xnet', 'xnetgrp', 'xnetlists', 'xnetevents', 'geoloc');
     $platal->run();
index d130eef..448384d 100644 (file)
@@ -26,7 +26,7 @@ require_once 'xorg.inc.php';
 require_once dirname(__FILE__).'/../classes/Platal.php';
 require_once dirname(__FILE__).'/../classes/PLModule.php';
 
-if ($path = Env::v('n') && ($path{0} < 'A' || $path{0} > 'Z')) {
+if (($path = Env::v('n')) && ($path{0} < 'A' || $path{0} > 'Z')) {
 
     $platal = new Platal('auth', 'banana', 'carnet', 'email', 'events',
                          'geoloc', 'lists', 'marketing', 'payment', 'platal',