summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/tpl/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tpl/index.php b/lib/tpl/index.php
index 20abea20c..0273e5678 100644
--- a/lib/tpl/index.php
+++ b/lib/tpl/index.php
@@ -9,7 +9,7 @@
* @author Anika Henke <anika@selfthinker.org>
*/
if(!defined('DOKU_INC')) define('DOKU_INC',dirname(__FILE__).'/../../');
-if(!define('NOSESSION')) define('NOSESSION',1);
+if(!defined('NOSESSION')) define('NOSESSION',1);
require_once(DOKU_INC.'inc/init.php');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"