diff options
Diffstat (limited to 'lib/tpl/default/main.php')
-rw-r--r-- | lib/tpl/default/main.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/tpl/default/main.php b/lib/tpl/default/main.php index c7364f6a6..ca48aff56 100644 --- a/lib/tpl/default/main.php +++ b/lib/tpl/default/main.php @@ -1,5 +1,3 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <?php /** * DokuWiki Default Template @@ -13,7 +11,13 @@ * @link http://wiki.splitbrain.org/wiki:tpl:templates * @author Andreas Gohr <andi@splitbrain.org> */ + +// must be run from within DokuWiki +if (!defined('DOKU_INC')) die(); + ?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $conf['lang']?>" lang="<?php echo $conf['lang']?>" dir="<?php echo $lang['direction']?>"> <head> |