-
Notifications
You must be signed in to change notification settings - Fork 0
/
admin.php
executable file
·30 lines (26 loc) · 1.3 KB
/
admin.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?php
/***************************************************************************
* *
* (c) 2004 Vladimir V. Kalynyak, Alexey V. Vinokurov, Ilya M. Shalnev *
* *
* This is commercial software, only users who have purchased a valid *
* license and accept to the terms of the License Agreement can install *
* and use this program. *
* *
****************************************************************************
* PLEASE READ THE FULL TEXT OF THE SOFTWARE LICENSE AGREEMENT IN THE *
* "copyright.txt" FILE PROVIDED WITH THIS DISTRIBUTION PACKAGE. *
****************************************************************************/
$php_value = phpversion();
if (version_compare($php_value, '5.3.0') == -1) {
echo 'Currently installed PHP version (' . $php_value . ') is not supported. Minimal required PHP version is 5.3.0.';
die();
}
define('AREA', 'A');
define('ACCOUNT_TYPE', 'admin');
try {
require(dirname(__FILE__) . '/init.php');
fn_dispatch();
} catch (Tygh\Exceptions\AException $e) {
$e->output();
}