summaryrefslogtreecommitdiff
path: root/inc/init.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/init.php')
-rw-r--r--inc/init.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/init.php b/inc/init.php
index 44154a039..f9e095533 100644
--- a/inc/init.php
+++ b/inc/init.php
@@ -50,7 +50,7 @@
@ini_set('arg_separator.output', '&');
// init session
- if (!headers_sent() && !defined(NOSESSION)){
+ if (!headers_sent() && !defined('NOSESSION')){
session_name("DokuWiki");
session_start();
}