Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions ext.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ class ext extends \phpbb\extension\base
{
/**
* Check whether the extension can be enabled.
* The current phpBB version must be within the range this extension
* supports, and PHP must meet the minimum version.
* The current phpBB and PHP version should meet or
* exceed the minimum version required by this extension:
*
* @return bool|string True, or the reason it can't be enabled.
* @return bool|array
* @access public
*/
public function is_enableable()
Expand All @@ -36,7 +36,8 @@ public function is_enableable()
}

/**
* Require phpBB 3.3.19 or later within the 3.3 line
* Require phpBB 3.3.19 due to several security fixes in the phpBB software.
* Retain the existing upper limit excluding phpBB 4.0.
*
* @return bool
*/
Expand All @@ -47,13 +48,13 @@ public function check_phpbb_version()
}

/**
* Require PHP 8.0
* Requires PHP 8.3.36 due to security fixes.
*
* @return bool
*/
public function check_php_version()
{
return PHP_VERSION_ID >= 80000;
return PHP_VERSION_ID >= 80336;
}

/**
Expand Down
2 changes: 1 addition & 1 deletion language/en/install_documentation.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,5 @@
//

$lang = array_merge($lang, array(
'DOCUMENTATION_NOT_ENABLEABLE' => 'Documentation could not be enabled. It requires phpBB 3.3.19 or a later 3.3 release, and PHP 8.0.0 or later.',
'DOCUMENTATION_NOT_ENABLEABLE' => 'Documentation could not be enabled. It requires phpBB 3.3.19 or a later 3.3 release, and PHP 8.3.36 or later.',
));
Loading