Фиксим мелкие ошибки.

This commit is contained in:
2023-04-01 14:47:32 +03:00
parent c41f36644c
commit d82a2e3103
14 changed files with 1005 additions and 1412 deletions

View File

@@ -7,14 +7,14 @@ class Config
private static self $instance;
private function __construct()
{
error_reporting(E_ALL ^ E_NOTICE);
// error_reporting(E_ALL ^ E_NOTICE);
ini_set('display_errors', 'Off');
ini_set('date.timezone', 'Europe/Moscow');
// ini_set('display_errors', 'Off');
// ini_set('date.timezone', 'Europe/Moscow');
header('Cache-Control: no-cache, no-store, must-revalidate');
header('Pragma: no-cache');
header('Expires: 0');
// header('Cache-Control: no-cache, no-store, must-revalidate');
// header('Pragma: no-cache');
// header('Expires: 0');
}
public static function get(?string $key = null)