From e888b11fffba8a6703d9080a522ab74cc985cd91 Mon Sep 17 00:00:00 2001 From: Denis Flaven Date: Tue, 17 Jan 2012 14:58:07 +0000 Subject: [PATCH] Make sure that we reference the config file using an absolute path... just in case... SVN:trunk[1775] --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) {