From 2a98500daf19e4bd04caacd0eb12c44570ed7772 Mon Sep 17 00:00:00 2001 From: Alexis Date: Tue, 7 Feb 2023 10:53:44 +0100 Subject: [PATCH] SonarQube bug resolve #2 --- Source/Config/Autoload.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Source/Config/Autoload.php b/Source/Config/Autoload.php index 920f98d..60e5431 100644 --- a/Source/Config/Autoload.php +++ b/Source/Config/Autoload.php @@ -46,10 +46,8 @@ class Autoload } $fileName .= str_replace('_', DIRECTORY_SEPARATOR, $className) . '.php'; - include $folder . $fileName; - + include_once $folder.$fileName; } } - -?> \ No newline at end of file +?>