added support for phpBB 3.3

This commit is contained in:
Micha Espey 2020-11-01 12:46:25 +01:00
parent 57b22d0daf
commit dc5568720b
1 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ define('PHPBB_ROOT_PATH', '../');
define('IN_PHPBB', true);
define('SUPPORTED_RELEASE_MAJOR', 3);
define('SUPPORTED_RELEASE_MINOR', 2);
define('SUPPORTED_RELEASE_MINOR', 3);
function confirm($message = 'Are you sure? ', $options = array('y', 'n'), $default ='n')
@ -139,7 +139,7 @@ if (!empty($argv[1])) {
// phpBB has major, minor and maintenance version scheme
list($major, $minor, $patch) = explode('.', $installedVersion);
if ((intval($major) != SUPPORTED_RELEASE_MAJOR) || (intval($minor) != SUPPORTED_RELEASE_MINOR)) {
if ((intval($major) != SUPPORTED_RELEASE_MAJOR)) {
echo 'This script only supports phpBB ' . SUPPORTED_RELEASE_MAJOR . '.' . SUPPORTED_RELEASE_MINOR . ' branch.', PHP_EOL;
exit(1);
}