1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-06-26 03:30:48 +03:00

fix сравнения совместимости плагина с версией LS

This commit is contained in:
Mzhelskiy Maxim 2010-06-23 08:23:59 +00:00
parent 104774e065
commit 0caf50c68e
2 changed files with 2 additions and 2 deletions

View file

@ -155,7 +155,7 @@ class ModulePlugin extends Module {
* Проверяем совместимость с версией LS
*/
if(defined('LS_VERSION')
and version_compare(LS_VERSION,$aPlugins[$sPlugin]['property']->requires->livestreet,'=<')) {
and version_compare(LS_VERSION,(string)$aPlugins[$sPlugin]['property']->requires->livestreet,'<')) {
$this->Message_AddError(
$this->Lang_Get(
'plugins_activation_version_error',

View file

@ -16,7 +16,7 @@
*/
error_reporting(E_ALL);
ini_set('display_errors', 1);
define('LS_VERSION','0.4.1');
define('LS_VERSION','0.4.2');
define('SYS_HACKER_CONSOLE',false);
header('Content-Type: text/html; charset=utf-8');