Fix index link in main menu html.
Use config.php for config file.