Welcome to Centmin Mod Community
Become a Member

Beta Branch Fixes bugs in some if-statement expressions and makes them simpler

Discussion in 'Centmin Mod Github Commits' started by eva2000, Apr 15, 2017.

  1. eva2000

    eva2000 Administrator Staff Member

    29,053
    6,594
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,790
    Local Time:
    4:50 PM
    Nginx 1.13.x
    MariaDB 5.5
    Fixes bugs in some if-statement expressions and makes them simpler

    * file inc\php_upgrade.inc, line 152
    - an expression in the if-statement is always 'true':

    * file inc\zendopcache_install.inc, line 93
    - An expression in the if-statement is always 'true':
    - It's not necessary to check PHPCURRENTVER together with PHPMVER. PHPMVER is based on PHP_VERSION from config file. But PHPCURRENTVER is real version of PHP installed on a machine.

    * file inc\zendopcache_reinstall.inc, lines 44, 47, 50
    - It's not necessary to check PHPCURRENTVER together with PHPMVER. PHPMVER is based on PHP_VERSION from config file. But PHPCURRENTVER is real version of PHP installed on a machine.

    * inc\zendopcache_submenu.inc, lines 15-16
    - changes comments: it is not necessary to mention any PHP version here

    Continue reading...

    123.09beta01 branch