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 
17 
18 $force = false;
19 if (in_array('--force', $argv)) { // Want to force
20  $force=true;
21 }
22 
23 $bind->regenerate_conf($force);
24 
bind9 file management class