Skip to content
Snippets Groups Projects
Commit 92546912 authored by matthiasgrimm's avatar matthiasgrimm
Browse files

media popup directory structure fix

The media popup was not fully adapted to the new directory
structure - fixed

darcs-hash:20050605125410-7ef76-79a24e1bd735cc4b89c1d7ee1f28b1a19b84f841.gz
parent bc3b6aec
No related branches found
No related tags found
No related merge requests found
<?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']);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment