summaryrefslogtreecommitdiffstats
path: root/includes/header.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/header.php')
-rw-r--r--includes/header.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/header.php b/includes/header.php
index 16b2d59..599c6ea 100644
--- a/includes/header.php
+++ b/includes/header.php
@@ -1,5 +1,5 @@
<?php
-session_start();
+if(!isset($_SESSION)) session_start();
if (!defined('__TYPECHO_ROOT_DIR__')) exit;
?>
<?php if($this->options->navStyle==1): ?><div class="mask" id="full-mask"></div><?php endif; ?>