Rev 249 | Rev 502 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 249 | Rev 261 | ||
---|---|---|---|
Line 12... | Line 12... | ||
12 | <?php |
12 | <?php |
13 | 13 | ||
14 | require_once __DIR__ . '/../includes/oidplus.inc.php'; |
14 | require_once __DIR__ . '/../includes/oidplus.inc.php'; |
15 | 15 | ||
16 | OIDplus::init(false); |
16 | OIDplus::init(false); |
17 | if (!defined('OIDINFO_API_URL')) { |
17 | if (!OIDplus::baseConfig()->exists('OIDINFO_API_URL')) { |
18 | die("OIDINFO_API_URL not available (API is currently not public)\n"); |
18 | die("OIDINFO_API_URL not available (API is currently not public)\n"); |
19 | } |
19 | } |
20 | 20 | ||
21 | $output = array(); |
21 | $output = array(); |
22 | 22 |