Skip to content

Commit

Permalink
fix: remove empty line
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanDecode committed Apr 19, 2019
1 parent 98f7685 commit 592f69d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
3 changes: 0 additions & 3 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@
* @version 2019-01-15 1.0
*/
if (!defined('__TYPECHO_ROOT_DIR__')) exit;
?>

<?php

// 看不见错误就是没有错误
error_reporting(0);
Expand Down
3 changes: 1 addition & 2 deletions includes/head.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@
* @version 2019-01-15 0.1
*/
if (!defined('__TYPECHO_ROOT_DIR__')) exit;
$setting = $GLOBALS['VOIDSetting'];
$setting = $GLOBALS['VOIDSetting'];
?>

<!DOCTYPE HTML>
<html>
<head>
Expand Down
6 changes: 2 additions & 4 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,12 @@
* @link https://blog.imalan.cn/archives/247/
*/
if (!defined('__TYPECHO_ROOT_DIR__')) exit;
$setting = $GLOBALS['VOIDSetting'];
?>
$setting = $GLOBALS['VOIDSetting'];

<?php
if(!Utils::isPjax()){
$this->need('includes/head.php');
$this->need('includes/header.php');
}
}
?>

<main id="pjax-container">
Expand Down

0 comments on commit 592f69d

Please sign in to comment.