forked from zblogcn/zblogphp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
50 lines (44 loc) · 1.56 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
<?php
/**
*
*****************************************************************************************************
* 如果您看到了这个提示,那么我们很遗憾地通知您,您的空间不支持 PHP 。
* 也就是说,您的空间可能是静态空间,或没有安装PHP,或没有为 Web 服务器打开 PHP 支持。
* Sorry, PHP is not installed on your web hosting if you see this prompt.
* Please check out the PHP configuration.
*
* 如您使用虚拟主机:
*
* > 联系空间商,更换空间为支持 PHP 的空间。
* > Contact your service provider, and let them provice a new service which supports PHP.
*
*
* 如您自行搭建服务器,推荐您:
* Configuring manually? Recommend:
*
* > 访问 PHP 官方网站获取安装帮助。
* > Visit PHP Official Website to get the documentation of installion and configuration.
* > http://php.net
*
******************************************************************************************************
*/
/**
* Z-Blog with PHP
* @author
* @copyright (C) RainbowSoft Studio
* @version
*/
require 'zb_system/function/c_system_base.php';
$zbp->RedirectInstall();
$zbp->CheckGzip();
$zbp->Load();
$zbp->RedirectPermanentDomain();
$zbp->CheckSiteClosed();
foreach ($GLOBALS['hooks']['Filter_Plugin_Index_Begin'] as $fpname => &$fpsignal) {
$fpname();
}
ViewIndex();
foreach ($GLOBALS['hooks']['Filter_Plugin_Index_End'] as $fpname => &$fpsignal) {
$fpname();
}
RunTime();