From 5c7e38ba301815f8334b6115c1ae50c460d4fa8a Mon Sep 17 00:00:00 2001 From: x2000habouzit Date: Sat, 15 Jul 2006 23:10:00 +0000 Subject: [PATCH] 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 --- classes/Xnet.php | 9 +++++++++ 1 file changed, 9 insertions(+) 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; + } } ?> -- 2.1.4