Archived
1
0
Fork 0
This repository has been archived on 2023-09-27. You can view files and clone it, but cannot push or open issues or pull requests.
ts3web/config/EnvConstants.php

89 lines
1.5 KiB
PHP
Raw Permalink Normal View History

2019-08-06 18:25:50 +00:00
<?php
/**
* Class EnvConstants
*/
class EnvConstants
{
/**
* Example env file
*/
const ENV_FILE_EXAMPLE = "env.example";
2019-08-06 18:25:50 +00:00
/**
* Custom env file
*/
2019-08-06 21:45:35 +00:00
const ENV_FILE = "env";
2019-08-06 18:25:50 +00:00
/**
* Site title
*/
const SITE_TITLE = "site_title";
/**
* Site language
*/
const SITE_LANGUAGE = "site_language";
/**
* Site date format
*/
const SITE_DATE_FORMAT = "site_date_format";
/**
* THeme
*/
const THEME = "theme";
/**
* Cache
*/
const THEME_CACHE = "theme_cache";
/**
* TeamSpeak host
*/
const TEAMSPEAK_HOST = "teamspeak_host";
/**
* TeamSpeak query port
*/
const TEAMSPEAK_QUERY_PORT = "teamspeak_query_port";
/**
* TeamSpeak default user
*/
const TEAMSPEAK_USER = "teamspeak_user";
/**
* TeamSpeak log lines
*/
const TEAMSPEAK_LOG_LINES = "teamspeak_log_lines";
2019-08-06 18:25:50 +00:00
/**
* Log name
*/
const LOG_NAME = "log_name";
/**
* Log level
*/
const LOG_LEVEL = "log_level";
2019-08-07 15:34:39 +00:00
/**
* Required attributes
*/
const ENV_REQUIRED = [
EnvConstants::SITE_TITLE,
EnvConstants::SITE_LANGUAGE,
EnvConstants::SITE_DATE_FORMAT,
EnvConstants::THEME,
EnvConstants::THEME_CACHE,
EnvConstants::TEAMSPEAK_HOST,
EnvConstants::TEAMSPEAK_QUERY_PORT,
EnvConstants::TEAMSPEAK_USER,
EnvConstants::TEAMSPEAK_LOG_LINES,
EnvConstants::LOG_NAME,
EnvConstants::LOG_LEVEL
];
2019-08-06 18:25:50 +00:00
}