git.shiar.nl
/
minimedit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b2536e
)
login/visits: user details moved to /profile
author
Mischa POSLAWSKY
<perl@shiar.org>
Fri, 8 Jun 2018 16:18:06 +0000
(18:18 +0200)
committer
Mischa POSLAWSKY
<perl@shiar.org>
Fri, 8 Jun 2018 21:14:52 +0000
(23:14 +0200)
Broken since commit
v2.5-5-g6236e7cb8d
(2018-04-25)
[login: store user data in /profile directory].
login/visits.php
patch
|
blob
|
history
diff --git
a/login/visits.php
b/login/visits.php
index 5c29a6ce428ed127fbd48a9ac4fa200c21398fd5..565aba7fabf7860de2062cfdb440ff84fdf9740c 100644
(file)
--- a/
login/visits.php
+++ b/
login/visits.php
@@
-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);
}