widget: unnamed options as placeholders instead of path
[minimedit.git] / widget / page.php
index 37c31fa1be68ca6b4a58a7d8ec94374956763406..4ae0967067965309538aad950812ef0768585ce8 100644 (file)
@@ -1,3 +1,3 @@
 <?php
-$article = new ArchiveArticle(".{$Page->path}.html");
+$article = new ArchiveArticle("{$Page->place[0]}.html");
 print $article->render();