]> git.pld-linux.org Git - packages/asterisk-stat.git/commitdiff
- config to /etc
authorMichał 'Wolvverine' Panasiewicz <wolvverine@pld-linux.org>
Fri, 26 May 2006 10:27:42 +0000 (10:27 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    asterisk-stat-config.patch -> 1.1

asterisk-stat-config.patch [new file with mode: 0644]

diff --git a/asterisk-stat-config.patch b/asterisk-stat-config.patch
new file mode 100644 (file)
index 0000000..0087892
--- /dev/null
@@ -0,0 +1,27 @@
+diff -uNr asterisk-stat-v2.orig/lib/defines.php asterisk-stat-v2/lib/defines.php
+--- asterisk-stat-v2.orig/lib/defines.php      2006-05-26 12:08:59.000000000 +0200
++++ asterisk-stat-v2/lib/defines.php   2006-05-26 12:22:44.000000000 +0200
+@@ -1,22 +1,6 @@
+ <?php
+-define ("WEBROOT", "http://domainname.com/asterisk-stat/");
+-define ("FSROOT", "/var/www/html/HTTP2/Asterisk/asterisk-stat-v2/");
+-
+-
+-
+-define ("LIBDIR", FSROOT."lib/");
+-
+-
+-define ("HOST", "localhost");
+-define ("PORT", "5432");
+-define ("USER", "postgres");
+-define ("PASS", "");
+-define ("DBNAME", "cdrasterisk");
+-define ("DB_TYPE", "postgres"); // mysql or postgres
+-
+-
+-define ("DB_TABLENAME", "cdr");
++include ("/etc/asterisk-stat/config.php");
+  
+ // Regarding to the dst you can setup an application name
+ // Make more sense to have a text that just a number
This page took 0.054946 seconds and 4 git commands to generate.