mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-13 11:47:01 +02:00
improved logging for the gui
Change-Id: I31d0dbb70b8d8184ce1f48d0161ddaf9e6c8d9ca Signed-off-by: SJ <sj@acts.hu>
This commit is contained in:
@ -30,6 +30,8 @@ class MySQL {
|
||||
public function query($sql, $arr = array()) {
|
||||
$query = new stdClass();
|
||||
|
||||
if(LOG_LEVEL >= DEBUG) { syslog(LOG_INFO, "sql=$sql, arr=" . implode(";", $arr)); }
|
||||
|
||||
$query->error = 1;
|
||||
$query->errmsg = "Error";
|
||||
$query->query = $sql;
|
||||
|
Reference in New Issue
Block a user