-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathphpconfig_init.php
77 lines (64 loc) · 2.14 KB
/
phpconfig_init.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<?PHP
/**
*
* Asterisk configuration file interface init file
* we are using this init file to handle multiple installations
* files.
*
*
*
* phpconfig: v 1.0 2011/07/26 edit by [email protected]
* ported from trixbox to freepbx module ( name configedit-1.0.0.0.tgz )
*
* phpconfig:,v 1.0 2003/07/03 17:19:37
* Authors: Dave Packham <[email protected]>
* Rob Birkinshaw <[email protected]>
*/
// directories that contain your confiles
$conf_directories = array("/etc/asterisk","/var/www/html/panel","/etc","/tftpboot");
// temporary directory where conf file
// copies are placed
$temporary_directory = "/tmp";
// file prefix for temporary conf files
$temporary_file_prefix = "conf-";
// file that contains users in the form of "[username]"
// who have write privledges
$access_file = "/etc/asterisk/manager.conf";
// Since login screen is still in the works, fake
// the user has logged in with success for the prototype.
// for write access $fakeuser must exist in $access_file
$fakeuser = "admin";
// conf file directory displayed by default
$default_conf_file_direcotry = "/etc/asterisk";
// regular expression filter for valid conf files
$conf_file_filter = "/.conf\$|.cnf\$|.inc\$|.cfg\$/";
// command for switch to read conf files
// commented out for demo
$reset_cmd = "/usr/sbin/asterisk -rx \"module reload\"";
//chaged for demo
// remark symbol in conf file
$remark = ";";
// HTML Output //
$images_dir = "images";
// page logo "top left"
$logo = "logo.gif";
// title for <head>
$title = "phpconfig for Asterisk PBX";
// title for page
$page_title = "phpconfig for Asterisk PBX";
// description for page <meta name="description">
$description = "The Open Source PBX";
// keywords for page <meta name="keywords">
$keywords = "PBX Asterisk";
// text to appear in footer bar
$footer_text = "Created by p0lar, Dave Packham & Rob Birkinshaw";
// link to web master
$webmaster = "http://www.asterisk.org";
// disclaimer
$disclaimer = "http://www.asterisk.org";
// link attached to logo
$logo_link = "http://www.asterisk.org";
// how many rows to set textarea control for
// editing and viewing conf files
$textarea_rows = 30;
?>