Welcome to Centmin Mod Community
Register Now

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

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

  1. eva2000

    eva2000 Administrator Staff Member

    30,152
    6,782
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,133
    Local Time:
    2:57 AM
    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...

    Centmin Mod Github Master branch

    Master branch is where most recent commits are made as at May 24, 2015.