]> git.pld-linux.org Git - packages/asterisk-stat.git/blob - asterisk-stat-config.patch
- php virtual extension deps
[packages/asterisk-stat.git] / asterisk-stat-config.patch
1 diff -uNr asterisk-stat-v2.orig/lib/defines.php asterisk-stat-v2/lib/defines.php
2 --- asterisk-stat-v2.orig/lib/defines.php       2006-05-26 12:08:59.000000000 +0200
3 +++ asterisk-stat-v2/lib/defines.php    2006-05-26 12:22:44.000000000 +0200
4 @@ -1,22 +1,6 @@
5  <?php
6  
7 -define ("WEBROOT", "http://domainname.com/asterisk-stat/");
8 -define ("FSROOT", "/var/www/html/HTTP2/Asterisk/asterisk-stat-v2/");
9 -
10 -
11 -
12 -define ("LIBDIR", FSROOT."lib/");
13 -
14 -
15 -define ("HOST", "localhost");
16 -define ("PORT", "5432");
17 -define ("USER", "postgres");
18 -define ("PASS", "");
19 -define ("DBNAME", "cdrasterisk");
20 -define ("DB_TYPE", "postgres"); // mysql or postgres
21 -
22 -
23 -define ("DB_TABLENAME", "cdr");
24 +include ("/etc/webapps/asterisk-stat/config.php");
25   
26  // Regarding to the dst you can setup an application name
27  // Make more sense to have a text that just a number
This page took 0.301795 seconds and 3 git commands to generate.