From 33c7f9a3da533668d21db2e26f776bd854ae81fa Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Sat, 5 Mar 2011 15:52:36 +0100 Subject: avoid premature output before headers are sent --- lib/tpl/index.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib') diff --git a/lib/tpl/index.php b/lib/tpl/index.php index a55081738..20abea20c 100644 --- a/lib/tpl/index.php +++ b/lib/tpl/index.php @@ -8,6 +8,9 @@ * @author Andreas Gohr * @author Anika Henke */ +if(!defined('DOKU_INC')) define('DOKU_INC',dirname(__FILE__).'/../../'); +if(!define('NOSESSION')) define('NOSESSION',1); +require_once(DOKU_INC.'inc/init.php'); ?> @@ -41,9 +44,6 @@ '; -- cgit v1.2.3