Versionsnummer auf 3.4 erhöht. Extension installer Prüft auf

Minimalversion vom Core. Neue Ordnerstruktur für Checksystem
This commit is contained in:
Andreas Österreicher
2022-10-31 15:16:30 +01:00
parent 989a7b8720
commit 771395cbbf
4 changed files with 424 additions and 2 deletions
+1 -1
View File
@@ -454,7 +454,7 @@ class ExtensionsLib
require_once('version.php'); // get the core version
// Checks if the required core version of the extension is the same of this system
if (isset($extensionJson->core_version) && $extensionJson->core_version == $fhcomplete_version)
if (isset($extensionJson->core_version) && version_compare($extensionJson->core_version, $fhcomplete_version,'<='))
{
$this->_printMessage('Required core version: '.$extensionJson->core_version);
$this->_printMessage('Current core version: '.$fhcomplete_version);