bugfix for when file is called from another path

file_exists() does not work as expected when config.php is included from another path. From upgrade/ for instance.