소스 검색

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

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@1775 a333f486-631f-4898-b8df-5754b55c2be0
dflaven 13 년 전
부모
커밋
8f68dfe363
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      index.php

+ 1 - 1
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))
 	{