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 6... | Line 6... | ||
6 | -- d) OIDs where potential users of this software can register OIDs in these arcs (e.g. an "identified organization" arc) |
6 | -- d) OIDs where potential users of this software can register OIDs in these arcs (e.g. an "identified organization" arc) |
7 | -- Use the tool dev/generate_wellknown_other_sqlite to generate this file |
7 | -- Use the tool dev/generate_wellknown_other_sqlite to generate this file |
8 | 8 | ||
9 | <?php |
9 | <?php |
10 | 10 | ||
- | 11 | /* |
|
- | 12 | * OIDplus 2.0 |
|
- | 13 | * Copyright 2019 - 2021 Daniel Marschall, ViaThinkSoft |
|
- | 14 | * |
|
- | 15 | * Licensed under the Apache License, Version 2.0 (the "License"); |
|
- | 16 | * you may not use this file except in compliance with the License. |
|
- | 17 | * You may obtain a copy of the License at |
|
- | 18 | * |
|
- | 19 | * http://www.apache.org/licenses/LICENSE-2.0 |
|
- | 20 | * |
|
- | 21 | * Unless required by applicable law or agreed to in writing, software |
|
- | 22 | * distributed under the License is distributed on an "AS IS" BASIS, |
|
- | 23 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
- | 24 | * See the License for the specific language governing permissions and |
|
- | 25 | * limitations under the License. |
|
- | 26 | */ |
|
- | 27 | ||
11 | require_once __DIR__ . '/../includes/oidplus.inc.php'; |
28 | require_once __DIR__ . '/../includes/oidplus.inc.php'; |
12 | 29 | ||
13 | OIDplus::init(false); |
30 | OIDplus::init(false); |
14 | if (!OIDplus::baseConfig()->exists('OIDINFO_API_URL')) { |
31 | if (!OIDplus::baseConfig()->exists('OIDINFO_API_URL')) { |
15 | die("OIDINFO_API_URL not available (API is currently not public)\n"); |
32 | die("OIDINFO_API_URL not available (API is currently not public)\n"); |