page: replace global variables by $Page object
[minimedit.git] / widget / login / list.php
index 17dbaac9282a81089d9c03a0fac5bdda5220c840..31d913044de23292e376502950621a09a789df64 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 $basepath = 'profile';
-if ($Args) $basepath .= '/.tags' . $Args;
+if ($Page->path) $basepath .= '/.tags' . $Page->path;
 $users = glob("$basepath/*/");
 if (!$users) return;