From f7ef0531217aeefedba1c2e8d7d40aa6e9451b2c Mon Sep 17 00:00:00 2001 From: William Jacoby Date: Thu, 22 Oct 2026 11:56:11 -0500 Subject: [PATCH] Require phpBB 3.3.19 and PHP 8.3.36 for extension enablement --- ext.php | 6 +++--- language/en/install_newspage.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ext.php b/ext.php index 4435fb3..539e51a 100644 --- a/ext.php +++ b/ext.php @@ -63,7 +63,7 @@ public function is_enableable() } /** - * Require phpBB 3.3.19 + * Require phpBB 3.3.19 due to several security fixes in the phpBB software. * * @return bool */ @@ -73,13 +73,13 @@ public function check_phpbb_version() } /** - * Require PHP 7.4 + * Requires PHP 8.3.36 due to security fixes. * * @return bool */ public function check_php_version() { - return PHP_VERSION_ID >= 70400; + return PHP_VERSION_ID >= 80336; } /** diff --git a/language/en/install_newspage.php b/language/en/install_newspage.php index f0a69df..a5dcf5c 100644 --- a/language/en/install_newspage.php +++ b/language/en/install_newspage.php @@ -22,6 +22,6 @@ } $lang = array_merge($lang, [ - 'NEWSPAGE_NOT_ENABLEABLE' => 'NV Newspage could not be enabled. It needs phpBB 3.3.19 or later, PHP 7.4.0 or later, and the PHP DOM extension.', + 'NEWSPAGE_NOT_ENABLEABLE' => 'NV Newspage could not be enabled. It needs phpBB 3.3.19 or later, PHP 8.3.36 or later, and the PHP DOM extension.', 'NEWSPAGE_DISABLE_OLD' => 'Disable the old ā€œ%sā€ extension first. Keep its data; do not delete it.', ]);