Modified db.php to use ini_files.php for accessing config file.