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
7 -define ("WEBROOT", "http://domainname.com/asterisk-stat/");
8 -define ("FSROOT", "/var/www/html/HTTP2/Asterisk/asterisk-stat-v2/");
12 -define ("LIBDIR", FSROOT."lib/");
15 -define ("HOST", "localhost");
16 -define ("PORT", "5432");
17 -define ("USER", "postgres");
19 -define ("DBNAME", "cdrasterisk");
20 -define ("DB_TYPE", "postgres"); // mysql or postgres
23 -define ("DB_TABLENAME", "cdr");
24 +include ("/etc/webapps/asterisk-stat/config.php");
26 // Regarding to the dst you can setup an application name
27 // Make more sense to have a text that just a number