Changeset 707
- Timestamp:
- Nov 15, 2019 5:50:28 PM (4 years ago)
- Files:
-
- 2 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/1.1dev/config/boot.inc.php
r608 r707 53 53 *****************************************************************************/ 54 54 55 if ($CFG->enable_mysql) { // use mysql database _______________________________55 if ($CFG->enable_mysql) { 56 56 57 57 // MySQL connection parameters. … … 77 77 logMsg('Database credentials missing.', LOG_WARNING, __FILE__, __LINE__); 78 78 } 79 80 // Polyfill to support PHP 7. 81 require_once dirname(__FILE__) . '/../polyfill/mysql.inc.php'; 79 82 80 83 // Connect to MySQL -
trunk/lib/Utilities.inc.php
r706 r707 1544 1544 * @param float $threshold Return true if the IP score is above this threshold (0-1). 1545 1545 * @param string $email Requester email address. 1546 * @return 1546 * @return boolean True if the IP address appears to be a robot, proxy, or VPN. 1547 * False if the IP address is a residential or business IP address, or the API failed to return a valid response. 1547 1548 * @author Quinn Comendant <quinn@strangecode.com> 1548 1549 * @since 26 Oct 2019 15:39:17
Note: See TracChangeset
for help on using the changeset viewer.