1
|
<?php
|
2
|
|
3
|
/*
|
4
|
* Copyright (C) 2017 Manuela v.d.Decken <manuela@isteam.de>
|
5
|
*
|
6
|
* DO NOT ALTER OR REMOVE COPYRIGHT OR THIS HEADER
|
7
|
*
|
8
|
* 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
|
*
|
12
|
* This program is distributed in the hope that it will be useful,
|
13
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
14
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
15
|
* GNU General Public License 2 for more details.
|
16
|
*
|
17
|
* 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
|
*
|
23
|
* @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: version.php 35 2018-01-01 20:35:30Z Manuela $
|
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
|
*/
|
33
|
//declare(strict_types = 1);
|
34
|
//declare(encoding = 'UTF-8');
|
35
|
|
36
|
//namespace ;
|
37
|
|
38
|
// use
|
39
|
|
40
|
if (!defined('VERSION_LOADED')) {
|
41
|
// Must include code to stop this file being accessed directly
|
42
|
if (!defined('SYSTEM_RUN')) { header($_SERVER['SERVER_PROTOCOL'].' 404 Not Found'); echo '404 File not found'; flush(); exit;}
|
43
|
/* -------------------------------------------------------- */
|
44
|
$sInfo = '
|
45
|
VERSION = "2.11.0-RC1"
|
46
|
REVISION = "35"
|
47
|
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
|
}
|