This commit is contained in:
joyqi 2017-11-01 23:06:57 +08:00
commit 5da128b0c7

View File

@ -52,8 +52,6 @@ require_once 'Typecho/Router.php';
/** 程序初始化 */
Typecho_Common::init();
ob_start();
else:
require_once dirname(__FILE__) . '/config.inc.php';
@ -72,6 +70,8 @@ else:
endif;
ob_start();
// 挡掉可能的跨站请求
if (!empty($_GET) || !empty($_POST)) {
if (empty($_SERVER['HTTP_REFERER'])) {