function DNS(&$db, $path, $conf_file, $tpl_path) { $this->db = $db; $this->path = $path; $this->entries = "options {\n directory \"{$path}\";\n};\n\n"; $this->conf_file = $conf_file; $this->tpl_path = $tpl_path; $this->loadTpl(); }