mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-12 23:14:18 +01:00
N°6105 - Cleanup unnecessary use of dirname(__FILE__) (#453)
This commit is contained in:
@@ -9,7 +9,7 @@ require_once('approot.inc.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(dirname(__FILE__).'/'.$sConfigFile))
|
||||
if (file_exists(APPROOT.$sConfigFile))
|
||||
{
|
||||
if (!is_readable($sConfigFile))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user