Cheetah
check.php
Go to the documentation of this file.
1 <?php
2 
3 if (version_compare(PHP_VERSION, '5.4.0', '<'))
4  return "This version requires PHP 5.4.0 or newer";
5 
6 $mixCheckResult = 'Update can not be applied';
7 
8 $sCurVer = $this->oDb->getOne("SELECT `VALUE` FROM `sys_options` WHERE `Name` = 'sys_tmp_version'");
9 
10 if ('1.0.0' == $sCurVer) $mixCheckResult = true;
11 
12 return $mixCheckResult;
$sCurVer
$sCurVer
Definition: check.php:8
php
$mixCheckResult
$mixCheckResult
Definition: check.php:6