fix bug where in some cases config.inc.php doesn't get loaded

config.inc.php doesn't get loaded if working dir is not the plugin dir, or include_path doesn't contain '.'