Subversion Repositories oidplus

Rev

Rev 502 | Rev 557 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 502 Rev 511
Line 9... Line 9...
9
SET ANSI_PADDING ON
9
SET ANSI_PADDING ON
10
GO
10
GO
11
 
11
 
12
<?php
12
<?php
13
 
13
 
-
 
14
/*
-
 
15
 * OIDplus 2.0
-
 
16
 * Copyright 2019 - 2021 Daniel Marschall, ViaThinkSoft
-
 
17
 *
-
 
18
 * Licensed under the Apache License, Version 2.0 (the "License");
-
 
19
 * you may not use this file except in compliance with the License.
-
 
20
 * You may obtain a copy of the License at
-
 
21
 *
-
 
22
 *     http://www.apache.org/licenses/LICENSE-2.0
-
 
23
 *
-
 
24
 * Unless required by applicable law or agreed to in writing, software
-
 
25
 * distributed under the License is distributed on an "AS IS" BASIS,
-
 
26
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-
 
27
 * See the License for the specific language governing permissions and
-
 
28
 * limitations under the License.
-
 
29
 */
-
 
30
 
14
require_once __DIR__ . '/../includes/oidplus.inc.php';
31
require_once __DIR__ . '/../includes/oidplus.inc.php';
15
 
32
 
16
OIDplus::init(false);
33
OIDplus::init(false);
17
if (!OIDplus::baseConfig()->exists('OIDINFO_API_URL')) {
34
if (!OIDplus::baseConfig()->exists('OIDINFO_API_URL')) {
18
	die("OIDINFO_API_URL not available (API is currently not public)\n");
35
	die("OIDINFO_API_URL not available (API is currently not public)\n");