From 0b3a1849b93a1284f6b38a3ccea36bb28786eb2e Mon Sep 17 00:00:00 2001 From: Herman van Rink Date: Mon, 18 Feb 2019 20:38:32 +0100 Subject: [PATCH] Add the LOGLEVEL_INFO constant to avoid Use of undefined constant warnings So far only used in two places, but it needs to be defined to changed there: - server/lib/classes/db_mysql.inc.php - interface/lib/classes/db_mysql.inc.php --- install/tpl/config.inc.php.master | 1 + interface/lib/config.inc.php | 1 + 2 files changed, 2 insertions(+) diff --git a/install/tpl/config.inc.php.master b/install/tpl/config.inc.php.master index 02a7b2f65c..a9f08e15b0 100644 --- a/install/tpl/config.inc.php.master +++ b/install/tpl/config.inc.php.master @@ -173,6 +173,7 @@ $conf['start_session'] = true; define('LOGLEVEL_DEBUG',0); define('LOGLEVEL_WARN',1); define('LOGLEVEL_ERROR',2); +define('LOGLEVEL_INFO',3); //** include a local config-file if there is one //** IMPORTANT!!! diff --git a/interface/lib/config.inc.php b/interface/lib/config.inc.php index 3c534f3f21..1b8b368a21 100644 --- a/interface/lib/config.inc.php +++ b/interface/lib/config.inc.php @@ -162,5 +162,6 @@ $conf['start_session'] = true; define('LOGLEVEL_DEBUG', 0); define('LOGLEVEL_WARN', 1); define('LOGLEVEL_ERROR', 2); +define('LOGLEVEL_INFO',3); ?> -- GitLab