LEPTON CMS 7.2.0
feel free to keep it strictly simple...
|
Go to the source code of this file.
Functions | |
versionCompare (string $version1, string $version2, string $operator='>=') | |
Variables | |
if(!defined("SEC_FILE")) if(defined('LEPTON_PATH')) | else |
$root = $oneback | |
$level = 1 | |
versionCompare | ( | string | $version1, |
string | $version2, | ||
string | $operator = '>=' ) |
This function performs a comparison of two provided version strings The versions are first converted into a string following the major.minor.revision convention and performs a version_compare afterwards.
string | $version1 | A version string one |
string | $version2 | A version string two |
string | $operator | An operator-string to compare the two versions |
Definition at line 50 of file function.versionCompare.php.
$level = 1 |
Definition at line 25 of file function.versionCompare.php.
$root = $oneback |
Definition at line 24 of file function.versionCompare.php.
while(($level< 10) &&(!file_exists($root.SEC_FILE))) if (file_exists( $root.SEC_FILE)) else |
This file is part of LEPTON Core, released under the GNU GPL Please see LICENSE and COPYING files in your package for details, specially for terms and warranties.
NOTICE:LEPTON CMS Package has several different licenses. Please see the individual license in the header of each single file or info.php of modules and templates.
Definition at line 22 of file function.versionCompare.php.