diff --git a/index.php b/index.php index d0077b885..b05fec861 100644 --- a/index.php +++ b/index.php @@ -7,7 +7,7 @@ $sSetupPage = './setup/index.php'; * Check that the configuration file exists and has the appropriate access rights * If the file does not exist, launch the configuration wizard to create it */ -if (file_exists($sConfigFile)) +if (file_exists(dirname(__FILE__).'/'.$sConfigFile)) { if (!is_readable($sConfigFile)) {