mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Missing )
This commit is contained in:
parent
1bf57c15d2
commit
ea194f1aa1
@ -34,7 +34,7 @@
|
||||
require_once("config.inc");
|
||||
require_once("functions.inc");
|
||||
|
||||
if(file_exists("/var/run/lastlogin") {
|
||||
if(file_exists("/var/run/lastlogin")) {
|
||||
$last_login_time = file_get_contents("{$g['varrun_path']}/lastlogin");
|
||||
$time_now = time();
|
||||
if($time_now - $last_login_time < 20) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user