예제 #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);
 }
예제 #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);
 }