From: x2000habouzit Date: Sat, 15 Jul 2006 23:10:00 +0000 (+0000) Subject: hack so that $this->path is what it should be X-Git-Tag: xorg/0.9.11~390 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=5c7e38ba301815f8334b6115c1ae50c460d4fa8a;p=platal.git hack so that $this->path is what it should be git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@512 839d8a87-29fc-0310-9880-83ba4fa771e5 --- diff --git a/classes/Xnet.php b/classes/Xnet.php index f76e287..f1e3b79 100644 --- a/classes/Xnet.php +++ b/classes/Xnet.php @@ -39,6 +39,15 @@ class Xnet extends Platal } } } + + function find_hook() + { + $ans = parent::find_hook(); + if ($ans && $this->ns) { + $this->path = $this->ns . substr($this->path, 4); + } + return $ans; + } } ?>