Subversion Repositories oidplus

Rev

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

Rev 488 Rev 511
Line 1... Line 1...
1
<?php
1
<?php
2
 
2
 
3
/*
3
/*
4
 * OIDplus 2.0
4
 * OIDplus 2.0
5
 * Copyright 2019 Daniel Marschall, ViaThinkSoft
5
 * Copyright 2019 - 2021 Daniel Marschall, ViaThinkSoft
6
 *
6
 *
7
 * Licensed under the Apache License, Version 2.0 (the "License");
7
 * Licensed under the Apache License, Version 2.0 (the "License");
8
 * you may not use this file except in compliance with the License.
8
 * you may not use this file except in compliance with the License.
9
 * You may obtain a copy of the License at
9
 * You may obtain a copy of the License at
10
 *
10
 *
Line 17... Line 17...
17
 * limitations under the License.
17
 * limitations under the License.
18
 */
18
 */
19
 
19
 
20
// Before we do ANYTHING, check for dependencies! Do not include anything (except the GMP supplement) yet.
20
// Before we do ANYTHING, check for dependencies! Do not include anything (except the GMP supplement) yet.
21
 
21
 
-
 
22
define('INSIDE_OIDPLUS', true);
-
 
23
 
22
require_once __DIR__ . '/functions.inc.php'; // Required for _L()
24
require_once __DIR__ . '/functions.inc.php'; // Required for _L()
23
 
25
 
24
if (version_compare(PHP_VERSION, '7.0.0') < 0) {
26
if (version_compare(PHP_VERSION, '7.0.0') < 0) {
25
        // Reasons why we currently require PHP 7.0:
27
        // Reasons why we currently require PHP 7.0:
26
        // - Return values (e.g. "function foo(): array") (added 2020-04-06 at the database classes)
28
        // - Return values (e.g. "function foo(): array") (added 2020-04-06 at the database classes)