if (function_exists('apache_note')) apache_note('user', $inuser);
+ if ($log = @fopen("$userdir/last.log", 'w')) {
+ fwrite($log, "{$_SERVER['REMOTE_ADDR']} {$_SERVER['HTTP_USER_AGENT']}\n");
+ }
+
return [
'name' => $inuser,
'admin' => file_exists("$userdir/.admin"),