Rev 1369 | Rev 1383 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1369 | Rev 1378 | ||
---|---|---|---|
1 | <?php |
1 | <?php |
2 | #################################################### |
2 | #################################################### |
3 | # AstWeb - Asterisk PBX Dynamic config environment # |
3 | # AstWeb - Asterisk PBX Dynamic config environment # |
4 | # # |
4 | # # |
5 | # Written by: Jamie Carl # |
5 | # Written by: Jamie Carl # |
6 | # jazz@funkynerd.com # |
6 | # jazz@funkynerd.com # |
7 | # # |
7 | # # |
8 | # Copyright (C) 2006 Achieve Corp # |
8 | # Copyright (C) 2006 Achieve Corp # |
9 | # # |
9 | # # |
10 | # Licence: This software is licenced under the # |
10 | # Licence: This software is licenced under the # |
11 | # GNU/GPL. Please see licence.txt for # |
11 | # GNU/GPL. Please see licence.txt for # |
12 | # more information. # |
12 | # more information. # |
13 | #################################################### |
13 | #################################################### |
14 | 14 | ||
15 | /* Do NOT touch this! */ |
- | |
16 | if ( !defined('IN_ASTWEB') ) { |
- | |
17 | die("Hacking attempt"); |
- | |
18 | } |
- | |
19 | - | ||
20 | /* Configuration settings */ |
15 | /* Configuration settings */ |
21 | 16 | ||
22 | $tpl_dir = 'templates'; |
17 | $tpl_dir = 'templates'; |
23 | $img_dir = 'images'; |
18 | $img_dir = 'images'; |
24 | 19 | ||
25 | $site_title = 'Asterisk Web Interface'; |
20 | $site_title = 'Asterisk Web Interface'; |
26 | $site_style = 'astweb.css'; |
21 | $site_style = 'astweb.css'; |
27 | - | ||
28 | $includes = 'includes'; |
- | |
29 | 22 | ||
30 | $db_type = 'PGSQL'; |
23 | $db_type = 'PGSQL'; |
31 | $db_host = 'localhost'; |
24 | $db_host = 'localhost'; |
32 | $db_user = 'astweb'; |
25 | $db_user = 'astweb'; |
33 | $db_password = 'password'; |
26 | $db_password = 'password'; |
34 | $db_database = 'asterisk'; |
27 | $db_database = 'asterisk'; |
35 | 28 | ||
36 | // any local specific query |
29 | // any local specific query |
37 | function BaseQuery() |
30 | function BaseQuery() |
38 | { |
31 | { |
39 | return " (dstchannel is null or dstchannel != '')"; |
32 | return " (dstchannel is null or dstchannel != '')"; |
40 | } |
33 | } |
41 | 34 | ||
42 | ?> |
35 | ?> |