no need to include vendor/autoload.php. It's done in inc.Settings.php

This commit is contained in:
Uwe Steinmann 2023-03-29 09:03:58 +02:00
parent ed27dbcf4b
commit a13e1121e3

View File

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