37 lines
610 B
Text
37 lines
610 B
Text
|
<?php
|
||
|
|
||
|
/* Database-Connection */
|
||
|
|
||
|
// Data Source Name.
|
||
|
define('DB_DSN', 'pgsql:host=localhost dbname=feedizer');
|
||
|
|
||
|
// Username for DB connection
|
||
|
define('DB_USER', 'feedizer');
|
||
|
|
||
|
// Password for DB connection
|
||
|
define('DB_PASS', '');
|
||
|
|
||
|
define('DB_OPTIONS', array(
|
||
|
// Make a persistent connection
|
||
|
PDO::ATTR_PERSISTENT => true,
|
||
|
));
|
||
|
|
||
|
|
||
|
/* Logging */
|
||
|
|
||
|
// Send errors to stdout?
|
||
|
ini_set('display_errors', 0);
|
||
|
|
||
|
// What to report?
|
||
|
error_reporting(E_ALL);
|
||
|
|
||
|
|
||
|
/* Admin user */
|
||
|
|
||
|
#define('ADMIN_NAME', 'fanir');
|
||
|
#define('ADMIN_PASS', '');
|
||
|
|
||
|
/* Crawler */
|
||
|
|
||
|
define('CRAWLER_LOG_FILE', BASE_PATH . 'logs/crawl.log');
|