Changeset 946

Show
Ignore:
Timestamp:
06/23/10 12:23:59 (20 months ago)
Author:
ort
Message:

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

Location:
trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/engine/modules/plugin/Plugin.class.php

    r939 r946  
    156156                                                 */ 
    157157                                                if(defined('LS_VERSION')  
    158                                                         and version_compare(LS_VERSION,$aPlugins[$sPlugin]['property']->requires->livestreet,'=<')) { 
     158                                                        and version_compare(LS_VERSION,(string)$aPlugins[$sPlugin]['property']->requires->livestreet,'<')) { 
    159159                                                                $this->Message_AddError( 
    160160                                                                        $this->Lang_Get( 
  • trunk/index.php

    r926 r946  
    1717error_reporting(E_ALL); 
    1818ini_set('display_errors', 1); 
    19 define('LS_VERSION','0.4.1'); 
     19define('LS_VERSION','0.4.2'); 
    2020define('SYS_HACKER_CONSOLE',false); 
    2121header('Content-Type: text/html; charset=utf-8');