Make sure that we reference the config file using an absolute path... just in case...

SVN:trunk[1775]
This commit is contained in:
Denis Flaven
2012-01-17 14:58:07 +00:00
parent 8dc13026a0
commit e888b11fff

View File

@@ -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))
{