portal.mkgtu.ru/common/models/logs/LogVarsExcluder.php

27 lines
699 B
PHP
Raw Normal View History

2024-03-28 09:51:45 +03:00
<?php
namespace common\models\logs;
class LogVarsExcluder
{
public static function excludeVars(): array
{
return [
'_SERVER.HTTP_AUTHORIZATION',
'_SERVER.PHP_AUTH_USER',
'_SERVER.PHP_AUTH_PW',
'_SERVER.DB_USERNAME',
'_SERVER.DB_PASSWORD',
'_SERVER.MAIL_PASSWORD',
'_SERVER.ABIT_PASSWORD',
'_SERVER.STUDENT_PASSWORD',
'_SERVER.WEB_APP_PASSWORD',
'_SERVER.SITE_KEY',
'_SERVER.SERVER_KEY',
'_SERVER.SITE_KEY_V2',
'_SERVER.SERVER_KEY_V2',
'_SERVER.SITE_KEY_V3',
'_SERVER.SERVER_KEY_V3',
];
}
}