diff --git a/inc_functions.php b/inc_functions.php index b20540d95ca1905c0cac537426cb084e4acd61ee..434286005d7ea344f7b53ded3b4fc1116e65ee06 100644 --- a/inc_functions.php +++ b/inc_functions.php @@ -9,6 +9,11 @@ // Source: https://git-repo.iml.unibe.ch/iml-open-source/login-aai // ====================================================================== +// WIP: +// require 'classes/shibd_discofeed.class.php'; +// $oD = new shibd_discofeed(); +// print_r($oD->getAllIdps()); + $SELFURL = isset($_SERVER['SERVER_NAME']) ? "https://" . $_SERVER['SERVER_NAME'] : ''; $url_list = "$SELFURL/Shibboleth.sso/DiscoFeed"; @@ -19,7 +24,8 @@ $ttlcache = 60 * 10; if (!file_exists('config.php')) { die("ERROR: file config.php does not exist yet."); } -$aConfig = require_once('config.php'); + +$aConfig = require 'config.php'; // ---------------------------------------------------------------------- // functions