page: index method to call metadata handler
[minimedit.git] / article.inc.php
index 2396f2be6e078e12af9d1ea2933ca25cafe6d49e..a9c6ce41195307f44c01d4e7d8ad6b0a67c6b686 100644 (file)
@@ -65,6 +65,18 @@ class ArchiveArticle
                return;
        }
 
+       function index()
+       {
+               $this->handler;
+               if (empty($this->handler)) {
+                       return;
+               }
+               $User = NULL;
+               $Page = $this;
+               $res = include "./{$this->handler}/index.php";
+               return $res;
+       }
+
        function restricted()
        {
                $this->handler;