Update core classes with better debugging output

Add server name to the print out and log print debug entry.
For the debug log file add the full file path so we know which file
exactly got accessed.
This commit is contained in:
Clemens Schwaighofer
2014-09-30 16:12:50 +09:00
parent dd4dc12ed4
commit deff15cc71
3 changed files with 25 additions and 7 deletions

View File

@@ -312,7 +312,7 @@
$this->db_pwd = $db_config['db_pass'];
$this->db_host = $db_config['db_host'];
$this->db_port = array_key_exists('db_port', $db_config) ? $db_config['db_port'] : '5432';
$this->db_schema = array_key_exists('db_schema', $db_config) ? $db_config['db_schema'] : 'public';
$this->db_schema = array_key_exists('db_schema', $db_config) ? $db_config['db_schema'] : ''; // do not set to 'public' if not set, because the default is already public
$this->db_encoding = array_key_exists('db_encoding', $db_config) ? $db_config['db_encoding'] : '';
$this->db_type = 'db_'.$db_config['db_type'];
$this->db_ssl = array_key_exists('db_ssl', $db_config) ? $db_config['db_ssl'] : 'allow';