From b75a3ea9ba1d94b88c0ade5866b36d658f1aeaa1 Mon Sep 17 00:00:00 2001 From: William Jacoby Date: Thu, 22 Oct 2026 11:57:31 -0500 Subject: [PATCH] Require phpBB 3.3.19 and PHP 8.3.36 for extension enablement --- ext.php | 10 +++++----- language/en/install_postingtemplate.php | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ext.php b/ext.php index 318bb7d..2c6a74e 100644 --- a/ext.php +++ b/ext.php @@ -19,8 +19,8 @@ class ext extends \phpbb\extension\base { /** * Check whether the extension can be enabled. - * The current phpBB version should meet or exceed - * the minimum version required by this extension. + * The current phpBB and PHP version should meet or + * exceed the minimum version required by this extension: * * @return bool|array * @access public @@ -41,7 +41,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 */ @@ -51,12 +51,12 @@ 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_postingtemplate.php b/language/en/install_postingtemplate.php index 3146547..b43f268 100644 --- a/language/en/install_postingtemplate.php +++ b/language/en/install_postingtemplate.php @@ -40,5 +40,5 @@ // $lang = array_merge($lang, [ - 'POSTINGTEMPLATE_NOT_ENABLEABLE' => 'Posting Template could not be enabled. The minimum requirements of phpBB 3.3.19 and/or PHP 7.4.0 were not satisfied.', + 'POSTINGTEMPLATE_NOT_ENABLEABLE' => 'Posting Template could not be enabled. The minimum requirements of phpBB 3.3.19 and/or PHP 8.3.36 were not satisfied.', ]);