/** 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); }
/** 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); }