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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user