From: x2001corpet Date: Sun, 30 Jul 2006 11:35:36 +0000 (+0000) Subject: fix wiki X-Git-Tag: xorg/0.9.11~198 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=6523f6253dc97c3d35ab3448f351204397ceb7c3;p=platal.git fix wiki git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@716 839d8a87-29fc-0310-9880-83ba4fa771e5 --- diff --git a/htdocs.net/index.php b/htdocs.net/index.php index 8501a8d..a6d95b3 100644 --- a/htdocs.net/index.php +++ b/htdocs.net/index.php @@ -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(); diff --git a/htdocs/index.php b/htdocs/index.php index d130eef..448384d 100644 --- a/htdocs/index.php +++ b/htdocs/index.php @@ -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',