Skip to content
Snippets Groups Projects
Commit f7e20062 authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

inc_functions: use require instead of require_once

parent e52bc949
Branches
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment