Alex Trofimov преди 12 години
родител
ревизия
78c56ff57f
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      studio/classes/BxDolStudioInstaller.php

+ 1 - 1
studio/classes/BxDolStudioInstaller.php

@@ -176,7 +176,7 @@ class BxDolStudioInstaller extends BxDolInstallerUtils
         $bCompatible = false;
         if(isset($this->_aConfig['compatible_with']) && is_array($this->_aConfig['compatible_with']))
             foreach($this->_aConfig['compatible_with'] as $iKey => $sVersion) {
-                $sVersion = '/^' . str_replace(array('.', 'x'), array('\.', '[ABab0-9-]+'), $sVersion) . '$/is';
+                $sVersion = '/^' . str_replace(array('.', 'x'), array('\.', '[A-Za-z0-9-]+'), $sVersion) . '$/is';
                 $bCompatible = $bCompatible || (preg_match($sVersion, bx_get_ver()) > 0);
             }
         if(!$bCompatible)