This repository has been archived by the owner on Apr 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 149
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
David Durieux
committed
Nov 20, 2016
1 parent
338860e
commit 182687a
Showing
1 changed file
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,7 +40,7 @@ | |
------------------------------------------------------------------------ | ||
*/ | ||
|
||
define ("PLUGIN_FUSIONINVENTORY_VERSION", "0.90+1.4"); | ||
define ("PLUGIN_FUSIONINVENTORY_VERSION", "0.90+1.5"); | ||
|
||
// Used for use config values in 'cache' | ||
$PF_CONFIG = array(); | ||
|
@@ -50,7 +50,7 @@ | |
define ("PLUGIN_FUSIONINVENTORY_XML", ''); | ||
|
||
define ("PLUGIN_FUSIONINVENTORY_OFFICIAL_RELEASE", "0"); | ||
define ("PLUGIN_FUSIONINVENTORY_REALVERSION", "0.90+1.4 SNAPSHOT"); | ||
define ("PLUGIN_FUSIONINVENTORY_REALVERSION", "0.90+1.5 SNAPSHOT"); | ||
include_once(GLPI_ROOT."/inc/includes.php"); | ||
|
||
include_once( GLPI_ROOT . "/plugins/fusioninventory/lib/autoload.php"); | ||
|
@@ -478,7 +478,7 @@ function plugin_version_fusioninventory() { | |
'version' => PLUGIN_FUSIONINVENTORY_VERSION, | ||
'license' => 'AGPLv3+', | ||
'oldname' => 'tracker', | ||
'author' =>'<a href="mailto:[email protected]">David DURIEUX</a> | ||
'author' =>'<a href="mailto:[email protected]">David DURIEUX</a> | ||
& FusionInventory team', | ||
'homepage' =>'http://forge.fusioninventory.org/projects/fusioninventory-for-glpi/', | ||
'minGlpiVersion' => '0.85' | ||
|
@@ -495,8 +495,8 @@ function plugin_fusioninventory_check_prerequisites() { | |
$_SESSION['glpi_plugins'] = array(); | ||
} | ||
|
||
if (version_compare(GLPI_VERSION, '0.85', 'lt') || version_compare(GLPI_VERSION, '0.92', 'ge')) { | ||
echo __('Your GLPI version not compatible, require >= 0.85', 'fusioninventory'); | ||
if (version_compare(GLPI_VERSION, '0.85', 'lt') || version_compare(GLPI_VERSION, '9.1', 'ge')) { | ||
echo __('Your GLPI version not compatible, require >= 0.85 and < 9.1', 'fusioninventory'); | ||
return FALSE; | ||
} | ||
|
||
|