widget: unnamed options as placeholders instead of path
[minimedit.git] / widget / login / list.php
index 94440dc88be215279cc72cee30c2db315380c3c8..0500ef2746acd1a0a86573a0812643a0f50b38cd 100644 (file)
@@ -1,6 +1,8 @@
 <?php
 $basepath = 'profile';
-if ($Page->path) $basepath .= '/.tags' . $Page->path;
+if (isset($Page->place[0])) {
+       $basepath .= '/.tags/' . $Page->place[0];
+}
 $users = glob("$basepath/*/");
 if (!$users) return;