-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathindex.php
59 lines (44 loc) · 1.71 KB
/
index.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<?php
/*-----------------------------------------------\
| |
| @Author: Andrey Brykin (Drunya) |
| @Version: 1.2.9 |
| @Project: CMS |
| @package CMS AtomX |
| @subpackege Entry dot |
| @copyright ©Andrey Brykin 2010-2012 |
| @last mod. 2012/04/29 |
\-----------------------------------------------*/
/*-----------------------------------------------\
| |
| any partial or not partial extension |
| CMS AtomX,without the consent of the |
| author, is illegal |
|------------------------------------------------|
| Любое распространение |
| CMS AtomX или ее частей, |
| без согласия автора, является не законным |
\-----------------------------------------------*/
header('Content-Type: text/html; charset=utf-8');
if (file_exists('install')) {
include_once ('sys/settings/config.php');
if (!empty($set) &&
!empty($set['db']['name']) &&
(
!empty($set['db']['user']) ||
!empty($set['db']['pass'])
)
) {
die('Before use your site, delete INSTALL dir! <br />Перед использованием удалите папку INSTALL');
}
header('Location: install'); die();
}
include_once 'sys/boot.php';
Plugins::intercept('before_pather', array());
/**
* Parser URL
* Get params from URL and launch needed module and action
*/
new Pather($Register);
Plugins::intercept('after_pather', array());
//pr($Register);