Update index.php

This commit is contained in:
Laurent Destailleur 2018-02-03 19:59:21 +01:00 committed by GitHub
parent 48a31b2398
commit 408fc69fac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -152,11 +152,6 @@ if (! empty($reg[1]) && $reg[1] == 'explorer' && ($reg[2] == '/swagger.json' ||
$enabled=true;
if (empty($conf->$modulenameforenabled->enabled)) $enabled=false;
if ($module == 'ficheinter'){
$enabled=true;
$moduledirforclass='fichinter';
}
if ($enabled)
{
// If exists, load the API class for enable module