diff options
Diffstat (limited to 'lib/exe')
-rw-r--r-- | lib/exe/detail.php | 2 | ||||
-rw-r--r-- | lib/exe/media.php | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/exe/detail.php b/lib/exe/detail.php index 1c676323f..6e2ae96c6 100644 --- a/lib/exe/detail.php +++ b/lib/exe/detail.php @@ -39,7 +39,7 @@ //start output and load template header('Content-Type: text/html; charset=utf-8'); - include(DOKU_INC.'lib/tpl/'.$conf['template'].'/detail.php'); + include(template('detail.php')); //restore old umask umask($conf['oldumask']); diff --git a/lib/exe/media.php b/lib/exe/media.php index 14474cb0c..c8db37153 100644 --- a/lib/exe/media.php +++ b/lib/exe/media.php @@ -53,9 +53,9 @@ //start output and load template header('Content-Type: text/html; charset=utf-8'); if($conf['refshow'] && count($mediareferences)){ - include(DOKU_INC.'lib/tpl/'.$conf['template'].'/mediaref.php'); + include(template('mediaref.php')); }else{ - include(DOKU_INC.'lib/tpl/'.$conf['template'].'/media.php'); + include(template('media.php')); } //restore old umask |