From a13e1121e38af155610ab8e3eadd8aeb8dd7844b Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Wed, 29 Mar 2023 09:03:58 +0200 Subject: [PATCH] no need to include vendor/autoload.php. It's done in inc.Settings.php --- index.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/index.php b/index.php index af3d42456..ce750c740 100644 --- a/index.php +++ b/index.php @@ -17,7 +17,7 @@ // along with this program; if not, write to the Free Software // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. -include("inc/inc.Settings.php"); +require("inc/inc.Settings.php"); if(true) { require_once("inc/inc.Utils.php"); @@ -27,8 +27,6 @@ if(true) { require_once("inc/inc.Extension.php"); require_once("inc/inc.DBInit.php"); - require "vendor/autoload.php"; - $c = new \Slim\Container(); //Create Your container $c['notFoundHandler'] = function ($c) use ($settings, $dms) { return function ($request, $response) use ($c, $settings, $dms) {