mirror of
https://github.com/kleeja-official/kleeja.git
synced 2025-12-16 04:59:42 +01:00
fixes
This commit is contained in:
@@ -335,7 +335,10 @@ switch ($case):
|
||||
//'plugin_kleeja_version_min' => '1.8',
|
||||
// Max version of Kleeja that's required to run this plugin
|
||||
//'plugin_kleeja_version_max' => '3.8',
|
||||
//3.1.0 < 3.1.0
|
||||
|
||||
if (! empty($plugin_info['plugin_kleeja_version_min']))
|
||||
{
|
||||
if (version_compare(KLEEJA_VERSION, $plugin_info['plugin_kleeja_version_min'], '<'))
|
||||
{
|
||||
kleeja_admin_info(
|
||||
@@ -348,8 +351,9 @@ switch ($case):
|
||||
|
||||
exit;
|
||||
}
|
||||
}
|
||||
|
||||
if ($plugin_info['plugin_kleeja_version_max'] != '0')
|
||||
if (! empty($plugin_info['plugin_kleeja_version_max']))
|
||||
{
|
||||
if (version_compare(KLEEJA_VERSION, $plugin_info['plugin_kleeja_version_max'], '>'))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user