Example #1
0
 /**
   Override to initialize QUERY_LOG
 */
 public function __construct($server, $type, $database, $username, $password = '', $persistent = false, $new = false)
 {
     $this->setQueryLog(dirname(__FILE__) . '/../log/queries.log');
     parent::__construct($server, $type, $database, $username, $password, $persistent, $new);
 }
Example #2
0
 /**
   Override to initialize QUERY_LOG
 */
 public function __construct($server, $type, $database, $username, $password = '', $persistent = false, $new = false)
 {
     $this->setQueryLog(new FannieLogger());
     parent::__construct($server, $type, $database, $username, $password, $persistent, $new);
 }