From c6ea345da89cfdb4479d7e472e4dcfab8547ff2c Mon Sep 17 00:00:00 2001 From: chris Date: Sat, 9 Sep 2006 11:36:03 +0200 Subject: minor update to default template - main.php & detail.php add check for being run by DokuWiki, die() if not. darcs-hash:20060909093603-9b6ab-0f8e31e246adba8adc888dbba1f924ff0e455d63.gz --- lib/tpl/default/detail.php | 8 ++++++-- lib/tpl/default/main.php | 8 ++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) (limited to 'lib') diff --git a/lib/tpl/default/detail.php b/lib/tpl/default/detail.php index 2330e2005..d62031fb8 100644 --- a/lib/tpl/default/detail.php +++ b/lib/tpl/default/detail.php @@ -1,5 +1,3 @@ - */ + +// must be run from within DokuWiki +if (!defined('DOKU_INC')) die(); + ?> + 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 @@ - */ + +// must be run from within DokuWiki +if (!defined('DOKU_INC')) die(); + ?> + -- cgit v1.2.3