begin to migrate the first 'asso' page to the new system, using a namespace hack...
[platal.git] / plugins / function.rel.php
index c43eb9e..b2bccc8 100644 (file)
@@ -23,7 +23,8 @@ function smarty_function_rel()
 {
     static $rel;
     if (empty($rel)) {
-        global $globals;
+        global $globals, $platal;
+
         $url = parse_url($globals->baseurl);
         return ($rel = $url['path']);
     }