import v2.0.0.0_RC3 | 2012-07-01
https://github.com/lucanos/CommunityID -> http://www.itadmins.net/archives/357
This commit is contained in:
@ -16,7 +16,7 @@
|
||||
* @package Zend_Version
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: Version.php 17799 2009-08-24 20:30:08Z alexander $
|
||||
* @version $Id: Version.php 19195 2009-11-23 16:24:58Z matthew $
|
||||
*/
|
||||
|
||||
/**
|
||||
@ -32,7 +32,7 @@ final class Zend_Version
|
||||
/**
|
||||
* Zend Framework version identification - see compareVersion()
|
||||
*/
|
||||
const VERSION = '1.9.2';
|
||||
const VERSION = '1.9.6';
|
||||
|
||||
/**
|
||||
* Compare the specified Zend Framework version string $version
|
||||
@ -46,6 +46,8 @@ final class Zend_Version
|
||||
*/
|
||||
public static function compareVersion($version)
|
||||
{
|
||||
return version_compare($version, self::VERSION);
|
||||
$version = strtolower($version);
|
||||
$version = preg_replace('/(\d)pr(\d?)/', '$1a$2', $version);
|
||||
return version_compare($version, strtolower(self::VERSION));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user