Отказ от алиаса die в пользу exit, более явная проверка на наличие сессии. Некоторые проверки входа теперь проверяют объекты, а не массив.

This commit is contained in:
Igor Barkov (iwork)
2020-09-30 15:01:33 +03:00
parent 02dc4582dc
commit a08ce17a40
179 changed files with 883 additions and 582 deletions

View File

@@ -30,7 +30,10 @@ $coma[] = "Помолчи, за умного сойдешь.";
$coma[] = "Прям как рыбка теперь, только рот открывается.";
//if ($_SESSION['uid'] == null) header("Location: index.php");
//if ($_SESSION['uid'] == null) {
header("Location: index.php");
exit;
}
$magictime=time()+($_POST['timer']*60);