|
|
@@ -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)
|