X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=classes%2Fxnet.php;h=ad8a0b76fcb7dedab35397b34884715a089d518e;hb=b0691e107085d6de8222271fba9691c820d3c209;hp=f3da66f9c24e49675bfaf79b6fcc869255a137ab;hpb=862a62fb38d4d1ba1b5b70a2fd2d57c5081b8627;p=platal.git diff --git a/classes/xnet.php b/classes/xnet.php index f3da66f..ad8a0b7 100644 --- a/classes/xnet.php +++ b/classes/xnet.php @@ -53,13 +53,14 @@ class Xnet extends Platal $link = str_replace('%grp', $globals->asso('diminutif'), parent::near_hook()); if ($link != $this->path) { return $link; - } - return null; + } + return null; } protected function find_hook() { $ans = parent::find_hook(); + $this->https = false; if ($ans && $this->ns) { $this->path = $this->ns . substr($this->path, 5); $this->argv[0] = $this->ns . substr($this->argv[0], 5);