Removing references to __DIR__
Bug fixes for PHP < 5.3.0 and parse_ini_file()