mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-12 22:31:02 +00:00
fix: don't show errors and fix that empty value
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
error_reporting(e_all);
|
if(time() - (!empty($_SESSION['time_p']) ? $_SESSION['time_p'] : 0) > 5) {
|
||||||
if(time() - $_SESSION['time_p'] > 5) {
|
|
||||||
$_SESSION['time_p'] = '';
|
$_SESSION['time_p'] = '';
|
||||||
$_SESSION['error_p'] = '';
|
$_SESSION['error_p'] = '';
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user