N°6105 - Cleanup unnecessary use of dirname(__FILE__) (#453)

This commit is contained in:
Thomas Casteleyn
2023-03-14 18:51:01 +01:00
committed by GitHub
parent 799b6a9725
commit fc97491708
20 changed files with 9 additions and 35 deletions

View File

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