From 1dcfb1728ea4fa17275f9a2d38dfe1b93c65a0e7 Mon Sep 17 00:00:00 2001
From: Prasad <prasad@vtiger.com>
Date: Fri, 21 Jul 2023 15:32:51 +0530
Subject: [PATCH] Adjusted pre-install php config

---
 config.php | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/config.php b/config.php
index f7c45f436..bf0f8832c 100644
--- a/config.php
+++ b/config.php
@@ -22,6 +22,11 @@ include('config.inc.php');
 
 $THIS_DIR = dirname(__FILE__);
 
+/* Pre-install overrides */
+if (!isset($dbconfig)) {
+	error_reporting(E_ERROR & ~E_NOTICE & ~E_DEPRECATED);
+}
+
 if (file_exists($THIS_DIR.'/config_override.php')) {
 	include_once $THIS_DIR.'/config_override.php';
 }
-- 
GitLab