mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 07:04:57 +00:00
no need to include vendor/autoload.php. It's done in inc.Settings.php
This commit is contained in:
parent
ed27dbcf4b
commit
a13e1121e3
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user