hack so that $this->path is what it should be
authorx2000habouzit <x2000habouzit@839d8a87-29fc-0310-9880-83ba4fa771e5>
Sat, 15 Jul 2006 23:10:00 +0000 (23:10 +0000)
committerx2000habouzit <x2000habouzit@839d8a87-29fc-0310-9880-83ba4fa771e5>
Sat, 15 Jul 2006 23:10:00 +0000 (23:10 +0000)
git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@512 839d8a87-29fc-0310-9880-83ba4fa771e5

classes/Xnet.php

index f76e287..f1e3b79 100644 (file)
@@ -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;
+    }
 }
 
 ?>