Фиксим мелкие ошибки.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user