login/visits: user details moved to /profile
[minimedit.git] / login / visits.php
index 5c29a6ce428ed127fbd48a9ac4fa200c21398fd5..565aba7fabf7860de2062cfdb440ff84fdf9740c 100644 (file)
@@ -1,9 +1,9 @@
 <?php
-$logs = glob('login/*/last.log');
+$logs = glob('profile/*/last.log');
 
 $logins = [];
 foreach ($logs as $log) {
-       preg_match('{^login/([^/]+)}', $log, $login);
+       preg_match('{^profile/([^/]+)}', $log, $login);
        $logins[ $login[1] ] = filemtime($log);
 }