Join the community today
Become a Member

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

    54,860
    12,239
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,810
    Local Time:
    8:13 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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.