Alternc
latest
Alternc logiel libre pour l'hébergement
generate_bind_conf.php
Go to the documentation of this file.
1
#!/usr/bin/php -q
2
<?php
3
4
/**
5
*
6
* Generate Bind configuration for AlternC
7
*
8
* To force generation, /launch/generate_bind_conf.php --force
9
*
10
*
11
**/
12
13
require_once(
"/usr/share/alternc/panel/class/config_nochk.php"
);
14
ini_set(
"display_errors"
, 1);
15
16
$bind
=
new
system_bind
();
17
18
$force
=
false
;
19
if
(in_array(
'--force'
, $argv)) {
// Want to force
20
$force
=
true
;
21
}
22
23
$bind
->regenerate_conf(
$force
);
24
$bind
$bind
Definition:
generate_bind_conf.php:16
$force
$force
Definition:
generate_bind_conf.php:18
system_bind
bind9 file management class
Definition:
class_system_bind.php:26
src
generate_bind_conf.php
Generated on Wed Jun 12 2019 12:00:09 for Alternc by
1.8.13