From 73b47973536215b91338e4d6b4b5f67e521cc7cb Mon Sep 17 00:00:00 2001 From: mjansen Date: Wed, 16 Aug 2023 09:51:22 +0200 Subject: [PATCH] SOAP: Fix plugins not working in ILIAS 8 See: https://mantis.ilias.de/view.php?id=37776 --- webservice/soap/include/inc.soap_functions.php | 1 + 1 file changed, 1 insertion(+) diff --git a/webservice/soap/include/inc.soap_functions.php b/webservice/soap/include/inc.soap_functions.php index 89e742667228..8b8579d926dd 100644 --- a/webservice/soap/include/inc.soap_functions.php +++ b/webservice/soap/include/inc.soap_functions.php @@ -1097,6 +1097,7 @@ public function __call($name, $arguments) // Note: We need to bootstrap ILIAS in order to get $ilPluginAdmin and load the soap plugins. // We MUST use a context that does not handle authentication at this point (session is checked by SOAP). ilContext::init(ilContext::CONTEXT_SOAP_NO_AUTH); + require_once 'Services/Init/classes/class.ilInitialisation.php'; ilInitialisation::initILIAS(); ilContext::init(ilContext::CONTEXT_SOAP); global $DIC;