define ("WEBROOT", "http://192.168.1.100/asterisk-stat/");
define ("FSROOT", "/var/www/html/asterisk-stat/");
define ("LIBDIR", FSROOT."lib/");
define ("HOST", "localhost");
define ("PORT", "5432");
define ("USER", "THE_DB_USER");
define ("PASS", "THE_DB_PASSWORD");
define ("DBNAME", "asteriskcdrdb");
define ("DB_TYPE", "mysql"); // mysql or postgres
define ("DB_TABLENAME", "cdr");
where "THE_DB_USER" and "THE_DB_PASSWORD" are whatever you used for your CDR database.
For high traffic sites, please note that there are hints on the home page for speeding up the database searches.