hotfix repo debugging
This commit is contained in:
parent
64af705c6a
commit
12e8d4ea92
|
@ -124,6 +124,10 @@
|
||||||
|
|
||||||
/* (1) If local -> instanciates with local configuration */
|
/* (1) If local -> instanciates with local configuration */
|
||||||
// if( !checkdnsrr($_SERVER['SERVER_NAME'], 'NS') )
|
// if( !checkdnsrr($_SERVER['SERVER_NAME'], 'NS') )
|
||||||
|
if(!isset($conf[$label]['local']['debug'])){
|
||||||
|
$conf[$label]['local']['debug'] = false;
|
||||||
|
}
|
||||||
|
|
||||||
self::$instance[$label] = new DatabaseDriver($conf[$label]['local']['host'], $conf[$label]['local']['dbname'], $conf[$label]['local']['user'], $conf[$label]['local']['password'],$conf[$label]['local']['debug']);
|
self::$instance[$label] = new DatabaseDriver($conf[$label]['local']['host'], $conf[$label]['local']['dbname'], $conf[$label]['local']['user'], $conf[$label]['local']['password'],$conf[$label]['local']['debug']);
|
||||||
/* (2) If Remote -> instanciates with Remote configuration */
|
/* (2) If Remote -> instanciates with Remote configuration */
|
||||||
// else
|
// else
|
||||||
|
|
Loading…
Reference in New Issue