1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-11 09:04:38 +02:00

Check added to thumb.php in case of UTF8-BOM in e107_config.php or any other output which could corrupt images.

This commit is contained in:
Cameron
2016-06-02 08:38:39 -07:00
parent cd8ea61bd9
commit 998f2f592b
3 changed files with 6 additions and 3 deletions

View File

@@ -405,7 +405,7 @@ e107::getSingleton('e107_traffic'); // We start traffic counting ASAP
//DEPRECATED, BC, $e107->sql caught by __get()
$sql = e107::getDb(); //TODO - find & replace $sql, $e107->sql
$sql->db_SetErrorReporting(FALSE);
$sql->db_SetErrorReporting(false);
$sql->db_Mark_Time('SQL Connect');
$merror=$sql->db_Connect($mySQLserver, $mySQLuser, $mySQLpassword, $mySQLdefaultdb);