summaryrefslogtreecommitdiff
path: root/lib/exe
diff options
context:
space:
mode:
authormatthiasgrimm <matthiasgrimm@users.sourceforge.net>2005-06-05 14:54:10 +0200
committermatthiasgrimm <matthiasgrimm@users.sourceforge.net>2005-06-05 14:54:10 +0200
commit92546912d30ff2adaf7fa3ae8c1de08ac09d5df0 (patch)
treef66bca0396a0ab69076d66b89ce0a35206f052c8 /lib/exe
parentbc3b6aec0f5bdef988488010807a94bee0808426 (diff)
downloadrpg-92546912d30ff2adaf7fa3ae8c1de08ac09d5df0.tar.gz
rpg-92546912d30ff2adaf7fa3ae8c1de08ac09d5df0.tar.bz2
media popup directory structure fix
The media popup was not fully adapted to the new directory structure - fixed darcs-hash:20050605125410-7ef76-79a24e1bd735cc4b89c1d7ee1f28b1a19b84f841.gz
Diffstat (limited to 'lib/exe')
-rw-r--r--lib/exe/media.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/exe/media.php b/lib/exe/media.php
index 5ca3bd360..e07ecbf7c 100644
--- a/lib/exe/media.php
+++ b/lib/exe/media.php
@@ -1,9 +1,9 @@
<?php
- if(!defined('DOKU_INC')) define('DOKU_INC',realpath(dirname(__FILE__)).'/');
+ if(!defined('DOKU_INC')) define('DOKU_INC',realpath(dirname(__FILE__).'/../../').'/');
require_once(DOKU_INC.'inc/init.php');
require_once(DOKU_INC.'inc/common.php');
- require_once(DOKU_INC.'lang/en/lang.php');
- require_once(DOKU_INC.'lang/'.$conf['lang'].'/lang.php');
+ require_once(DOKU_INC.'inc/lang/en/lang.php');
+ require_once(DOKU_INC.'inc/lang/'.$conf['lang'].'/lang.php');
require_once(DOKU_INC.'inc/html.php');
require_once(DOKU_INC.'inc/search.php');
require_once(DOKU_INC.'inc/template.php');
@@ -43,7 +43,7 @@
//start output and load template
header('Content-Type: text/html; charset=utf-8');
- include(DOKU_INC.'lib/tpl/'.$conf['template'].'/lib/exe/media.php');
+ include(DOKU_INC.'lib/tpl/'.$conf['template'].'/media.php');
//restore old umask
umask($conf['oldumask']);