19declare(strict_types=1);
21if (!file_exists(
'../ilias.ini.php')) {
22 die(
'The ILIAS setup is not completed. Please run the setup routine.');
25require_once
'../vendor/composer/vendor/autoload.php';
26require_once __DIR__ .
'/../artifacts/bootstrap_default.php';
33 $DIC->ctrl()->callBaseClass();
35 if (defined(
'DEVMODE') && DEVMODE) {
39 if (!str_contains(
$e->getMessage(),
'not given a baseclass') &&
40 !str_contains(
$e->getMessage(),
'not a baseclass')) {
41 throw new RuntimeException(sprintf(
'ilCtrl could not dispatch request: %s',
$e->getMessage()), 0,
$e);
44 $DIC->logger()->root()->error(
$e->getMessage());
45 $DIC->logger()->root()->error(
$e->getTraceAsString());
49$DIC[
'ilBench']->save();
50$DIC[
'http']?->close();
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
entry_point(string $name)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...