diff options
author | Andrew Dolgov <[email protected]> | 2021-02-22 22:35:27 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-02-22 22:35:27 +0300 |
commit | 211f699aa0c4211e4ee8a02446d51b9811d0c28c (patch) | |
tree | 1335af2487e9668d24db1dace41bdf46f1c10763 /classes/pref/system.php | |
parent | 383f4ca04af8c7a1ff4f8be5a488f6799e0e0d37 (diff) |
migrate the rest into Config::
Diffstat (limited to 'classes/pref/system.php')
-rw-r--r-- | classes/pref/system.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/pref/system.php b/classes/pref/system.php index bc519a321..35c776463 100644 --- a/classes/pref/system.php +++ b/classes/pref/system.php @@ -153,10 +153,10 @@ class Pref_System extends Handler_Administrative { <div dojoType='dijit.layout.AccordionContainer' region='center'> <div dojoType='dijit.layout.AccordionPane' style='padding : 0' title='<i class="material-icons">report</i> <?= __('Event Log') ?>'> <?php - if (LOG_DESTINATION == "sql") { + if (Config::get(Config::LOG_DESTINATION) == "sql") { $this->_log_viewer($page, $severity); } else { - print_notice("Please set LOG_DESTINATION to 'sql' in config.php to enable database logging."); + print_notice("Please set Config::get(Config::LOG_DESTINATION) to 'sql' in config.php to enable database logging."); } ?> </div> |