From a7ae567ab7fa2e2a774dc54f2fbf81588dbb3518 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 25 Aug 2025 14:56:10 +0000 Subject: [PATCH] Update PHP version checks for PHP 8.4.11 compatibility Co-authored-by: magicbug <84308+magicbug@users.noreply.github.com> --- application/views/dashboard/index.php | 2 +- index.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/application/views/dashboard/index.php b/application/views/dashboard/index.php index 80fb854e..fcf961d7 100644 --- a/application/views/dashboard/index.php +++ b/application/views/dashboard/index.php @@ -160,7 +160,7 @@ function echoQrbCalcLink($mygrid, $grid, $vucc)
config->item('use_auth') && ($this->session->userdata('user_type') >= 2)) || $this->config->item('use_auth') === FALSE) { ?> - + diff --git a/index.php b/index.php index 7d8fe56d..a606f51a 100644 --- a/index.php +++ b/index.php @@ -74,7 +74,7 @@ switch (ENVIRONMENT) case 'testing': case 'production': ini_set('display_errors', 0); - if (version_compare(PHP_VERSION, '5.3', '>=')) + if (version_compare(PHP_VERSION, '7.0', '>=')) { error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT & ~E_USER_NOTICE & ~E_USER_DEPRECATED); }