summaryrefslogtreecommitdiff
path: root/lib/tpl/index.php
diff options
context:
space:
mode:
authorChristopher Smith <chris@jalakai.co.uk>2011-04-02 03:36:26 +0100
committerChristopher Smith <chris@jalakai.co.uk>2011-04-02 03:36:26 +0100
commitefb973f8a33b893d0a4d46d6b733530833c4ad41 (patch)
tree9386f06b90a4fc6a5c31183793df17851ca0da26 /lib/tpl/index.php
parent344763ad4e90e41c8a94b0a69a527ff2d6319ab5 (diff)
parenta3f9f75c2624b73c4a57bf2a346ae71bf6a5fb98 (diff)
downloadrpg-efb973f8a33b893d0a4d46d6b733530833c4ad41.tar.gz
rpg-efb973f8a33b893d0a4d46d6b733530833c4ad41.tar.bz2
Merge branch 'master' of git@github.com:splitbrain/dokuwiki
Diffstat (limited to 'lib/tpl/index.php')
-rw-r--r--lib/tpl/index.php6
1 files changed, 3 insertions, 3 deletions
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 <andi@splitbrain.org>
* @author Anika Henke <anika@selfthinker.org>
*/
+if(!defined('DOKU_INC')) define('DOKU_INC',dirname(__FILE__).'/../../');
+if(!define('NOSESSION')) define('NOSESSION',1);
+require_once(DOKU_INC.'inc/init.php');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
@@ -41,9 +44,6 @@
</head>
<body>
<?php
-if(!defined('DOKU_INC')) define('DOKU_INC',dirname(__FILE__).'/../../');
-require_once(DOKU_INC.'inc/init.php');
-
$ini = @parse_ini_file($conf['template'].'/style.ini',true);
if ($ini) {
echo '<table>';