[enh] allow different path for system_bind
This commit is contained in:
parent
396fe6743c
commit
9c4c68b6eb
|
@ -19,10 +19,37 @@ class system_bind {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
* @param array $options optional parameters
|
||||||
*/
|
*/
|
||||||
function system_bind() {
|
public function __construct($options = null) {
|
||||||
// Constructeur
|
|
||||||
|
if (isset($options["ZONE_TEMPLATE"])) {
|
||||||
|
$this->ZONE_TEMPLATE = $options["ZONE_TEMPLATE"];
|
||||||
}
|
}
|
||||||
|
if (isset($options["NAMED_TEMPLATE"])) {
|
||||||
|
$this->NAMED_TEMPLATE = $options["NAMED_TEMPLATE"];
|
||||||
|
}
|
||||||
|
if (isset($options["NAMED_CONF"])) {
|
||||||
|
$this->NAMED_CONF = $options["NAMED_CONF"];
|
||||||
|
}
|
||||||
|
if (isset($options["RNDC"])) {
|
||||||
|
$this->RNDC = $options["RNDC"];
|
||||||
|
}
|
||||||
|
|
||||||
|
if (isset($options["dkim_trusted_host_file"])) {
|
||||||
|
$this->dkim_trusted_host_file = $options["dkim_trusted_host_file"];
|
||||||
|
}
|
||||||
|
if (isset($options["dkim_keytable_file"])) {
|
||||||
|
$this->dkim_keytable_file = $options["dkim_keytable_file"];
|
||||||
|
}
|
||||||
|
if (isset($options["dkim_signingtable_file"])) {
|
||||||
|
$this->dkim_signingtable_file = $options["dkim_signingtable_file"];
|
||||||
|
}
|
||||||
|
if (isset($options["zone_file_directory"])) {
|
||||||
|
$this->zone_file_directory = $options["zone_file_directory"];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return the part of the conf we got from the database
|
* Return the part of the conf we got from the database
|
||||||
|
|
Loading…
Reference in New Issue