1 |
2
|
Manuela
|
<?php
|
2 |
25
|
Manuela
|
|
3 |
|
|
/*
|
4 |
|
|
* Copyright (C) 2017 Manuela v.d.Decken <manuela@isteam.de>
|
5 |
2
|
Manuela
|
*
|
6 |
25
|
Manuela
|
* DO NOT ALTER OR REMOVE COPYRIGHT OR THIS HEADER
|
7 |
2
|
Manuela
|
*
|
8 |
25
|
Manuela
|
* This program is free software: you can redistribute it and/or modify
|
9 |
|
|
* it under the terms of the GNU General Public License as published by
|
10 |
|
|
* the Free Software Foundation, version 2 of the License.
|
11 |
2
|
Manuela
|
*
|
12 |
25
|
Manuela
|
* This program is distributed in the hope that it will be useful,
|
13 |
2
|
Manuela
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
14 |
25
|
Manuela
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
15 |
|
|
* GNU General Public License 2 for more details.
|
16 |
2
|
Manuela
|
*
|
17 |
25
|
Manuela
|
* You should have received a copy of the GNU General Public License 2
|
18 |
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
19 |
|
|
*/
|
20 |
|
|
/**
|
21 |
|
|
* Description of version.php
|
22 |
2
|
Manuela
|
*
|
23 |
25
|
Manuela
|
* @package Core
|
24 |
|
|
* @copyright Manuela v.d.Decken <manuela@isteam.de>
|
25 |
|
|
* @author Manuela v.d.Decken <manuela@isteam.de>
|
26 |
|
|
* @license GNU General Public License 2.0
|
27 |
|
|
* @version 2.0.1
|
28 |
|
|
* @revision $Id$
|
29 |
|
|
* @since File available since 04.10.2017
|
30 |
|
|
* @deprecated no / since 0000/00/00
|
31 |
|
|
* @description simply stares the version number of installed files
|
32 |
2
|
Manuela
|
*/
|
33 |
25
|
Manuela
|
//declare(strict_types = 1);
|
34 |
|
|
//declare(encoding = 'UTF-8');
|
35 |
2
|
Manuela
|
|
36 |
25
|
Manuela
|
//namespace ;
|
37 |
|
|
|
38 |
|
|
// use
|
39 |
|
|
|
40 |
35
|
Manuela
|
if (!defined('VERSION_LOADED')) {
|
41 |
2
|
Manuela
|
// Must include code to stop this file being accessed directly
|
42 |
35
|
Manuela
|
if (!defined('SYSTEM_RUN')) { header($_SERVER['SERVER_PROTOCOL'].' 404 Not Found'); echo '404 File not found'; flush(); exit;}
|
43 |
2
|
Manuela
|
/* -------------------------------------------------------- */
|
44 |
20
|
Manuela
|
$sInfo = '
|
45 |
30
|
Manuela
|
VERSION = "2.11.0-RC1"
|
46 |
35
|
Manuela
|
REVISION = "35"
|
47 |
20
|
Manuela
|
SP = ""
|
48 |
|
|
';
|
49 |
|
|
foreach (parse_ini_string($sInfo) as $item=>$value) {
|
50 |
|
|
if(!defined($item)) { define($item, $value); }
|
51 |
|
|
}
|
52 |
|
|
unset($sInfo);
|
53 |
|
|
define('VERSION_LOADED', true);
|
54 |
|
|
}
|