summaryrefslogtreecommitdiff
path: root/classes/config.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-03-07 09:05:23 +0300
committerAndrew Dolgov <[email protected]>2021-03-07 09:05:23 +0300
commitc036c27ec72ae7a36667772cd64a9f367410b4b4 (patch)
tree00fd458c91ddabada0adcf60ce53b0c97aa5d2fe /classes/config.php
parent17650775d2e513745d5bb65129c3e24c1a880fab (diff)
logger: use constants instead of hardcoded string literals
Diffstat (limited to 'classes/config.php')
-rw-r--r--classes/config.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/config.php b/classes/config.php
index 3e643b2d0..567a019c6 100644
--- a/classes/config.php
+++ b/classes/config.php
@@ -84,7 +84,7 @@ class Config {
Config::T_STRING ],
Config::CHECK_FOR_UPDATES => [ "true", Config::T_BOOL ],
Config::PLUGINS => [ "auth_internal", Config::T_STRING ],
- Config::LOG_DESTINATION => [ "sql", Config::T_STRING ],
+ Config::LOG_DESTINATION => [ Logger::LOG_DEST_SQL, Config::T_STRING ],
Config::LOCAL_OVERRIDE_STYLESHEET => [ "local-overrides.css",
Config::T_STRING ],
Config::DAEMON_MAX_CHILD_RUNTIME => [ 1800, Config::T_INT ],