Changeset 707 for branches/1.1dev/config


Ignore:
Timestamp:
Nov 15, 2019 5:50:28 PM (4 years ago)
Author:
anonymous
Message:

Add polyfill mysql support for PHP 7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.1dev/config/boot.inc.php

    r608 r707  
    5353 *****************************************************************************/
    5454
    55 if ($CFG->enable_mysql) { // use mysql database _______________________________
     55if ($CFG->enable_mysql) {
    5656
    5757    // MySQL connection parameters.
     
    7777        logMsg('Database credentials missing.', LOG_WARNING, __FILE__, __LINE__);
    7878    }
     79
     80    // Polyfill to support PHP 7.
     81    require_once dirname(__FILE__) . '/../polyfill/mysql.inc.php';
    7982
    8083    // Connect to MySQL
Note: See TracChangeset for help on using the changeset viewer.