From e74b4db121860f903a513cbb6f7f32dd2bb8278f Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Tue, 28 Nov 2023 22:55:11 +0700 Subject: [PATCH] Update init_tr.php --- bt/includes/init_tr.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/bt/includes/init_tr.php b/bt/includes/init_tr.php index 420bac5f..cdd0b76c 100644 --- a/bt/includes/init_tr.php +++ b/bt/includes/init_tr.php @@ -131,10 +131,7 @@ class sql_db if (!$link = @$connect_type($this->cfg['dbhost'], $this->cfg['dbuser'], $this->cfg['dbpasswd'])) { $this->log_error(); - if (DBG_LOG_TRACKER) - { - dbg_log("Could not connect to {$this->engine} server '{$this->cfg['dbhost']}'", "{$this->cfg['dbhost']}-DB-connect-FAIL_" . TIMENOW); - } + error_exit("Could not connect to {$this->engine} server '{$this->cfg['dbhost']}'"); } register_shutdown_function(array(&$this, 'close'));