From fc238f855e05bfcffc7fe5b513b9be5ce6d1b500 Mon Sep 17 00:00:00 2001 From: Elmar Ludwig <elmar.ludwig@uni-osnabrueck.de> Date: Thu, 30 Sep 2021 16:08:48 +0200 Subject: [PATCH] re-add require because autoload is not triggered early enough, fixes #206 --- app/controllers/cas.php | 2 +- lib/classes/auth_plugins/StudipAuthCAS.class.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/controllers/cas.php b/app/controllers/cas.php index 839eb1d469c..e12443c6286 100644 --- a/app/controllers/cas.php +++ b/app/controllers/cas.php @@ -12,7 +12,7 @@ * @category Stud.IP */ -require_once 'app/controllers/studip_controller.php'; +require_once 'composer/jasig/phpcas/CAS.php'; require_once 'lib/classes/cas/CAS_PGTStorage_Cache.php'; class CasController extends StudipController diff --git a/lib/classes/auth_plugins/StudipAuthCAS.class.php b/lib/classes/auth_plugins/StudipAuthCAS.class.php index 408da78f3ed..d28cc3e7711 100644 --- a/lib/classes/auth_plugins/StudipAuthCAS.class.php +++ b/lib/classes/auth_plugins/StudipAuthCAS.class.php @@ -10,6 +10,7 @@ * @package */ +require_once 'composer/jasig/phpcas/CAS.php'; require_once 'lib/classes/cas/CAS_PGTStorage_Cache.php'; class StudipAuthCAS extends StudipAuthSSO { -- GitLab