diff --git a/idf.php b/idf.php index 405b35c..4ce9b88 100644 --- a/idf.php +++ b/idf.php @@ -101,7 +101,7 @@ $cfg['mtn_opts'] = array('--no-workspace', '--no-standard-rcfiles'); # $cfg['idf_base'] = '/index.php'; # $cfg['url_base'] = 'http://www.mydomain.com'; # -$serverIP = $_SERVER['SERVER_ADDR']; +$serverIP = isset($_SERVER['SERVER_ADDR']) ? $_SERVER["SERVER_ADDR"] : "127.0.0.1"; $cfg['idf_base'] = ''; $cfg['url_base'] = "http://$serverIP"; @@ -202,18 +202,18 @@ $cfg['admins'] = array( # # Enter one of the supported database engines: SQLite, MySQL, or PostgreSQL -$cfg['db_engine'] = 'MySQL'; +$cfg['db_engine'] = 'SQLite'; # The database name for MySQL and PostgreSQL, and the absolute path # to the database file if you are using SQLite. -$cfg['db_database'] = 'indefero'; +$cfg['db_database'] = '/home/www/srchub.sqlite'; # The database server to connect. $cfg['db_server'] = 'localhost'; # Information about the database user. $cfg['db_login'] = 'root'; -$cfg['db_password'] = 'giantFog56'; +$cfg['db_password'] = ''; # The version of your database server, only needed for MySQL $cfg['db_version'] = '5.1';