Alternc
3.2
Alternc logiel libre pour l'hébergement
Main Page
Related Pages
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Pages
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
code
alternc
src
generate_bind_conf.php
Generated on Mon Mar 24 2014 17:14:20 for Alternc by
1.8.1.2