From c07dccc603864be148930f92868b8accc1ebda58 Mon Sep 17 00:00:00 2001
From: Prasad <prasad@vtiger.com>
Date: Sat, 4 May 2024 12:31:47 +0530
Subject: [PATCH] Restored production level error_reporting during install

---
 modules/Install/views/Index.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/Install/views/Index.php b/modules/Install/views/Index.php
index ce517e9c6..dc6157e49 100644
--- a/modules/Install/views/Index.php
+++ b/modules/Install/views/Index.php
@@ -30,7 +30,7 @@ class Install_Index_view extends Vtiger_View_Controller {
 	protected function applyInstallFriendlyEnv() {
 		// config.inc.php - will not be ready to control this yet.
 		version_compare(PHP_VERSION, '5.5.0') <= 0 ? error_reporting(E_ERROR & ~E_NOTICE & ~E_DEPRECATED) : error_reporting(E_ERROR & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT);  // Production
-		version_compare(PHP_VERSION, '7.0.0') >= 0 ? error_reporting(E_WARNING & ~E_NOTICE) : error_reporting(E_WARNING & ~E_NOTICE & ~E_DEPRECATED  & E_ERROR & ~E_STRICT); // Debug
+		//version_compare(PHP_VERSION, '7.0.0') >= 0 ? error_reporting(E_WARNING & ~E_NOTICE) : error_reporting(E_WARNING & ~E_NOTICE & ~E_DEPRECATED  & E_ERROR & ~E_STRICT); // Debug
 		set_time_limit(0); // override limits on execution time to allow install to finish
 	}
 
-- 
GitLab