require_once("conf/dokuwiki.php"); require_once("inc/common.php"); require_once("lang/en/lang.php"); require_once("lang/".$conf['lang']."/lang.php"); setCorrectLocale(); require_once("inc/html.php"); require_once("inc/search.php"); require_once("inc/format.php"); require_once("inc/auth.php"); $NS = $_REQUEST['ns']; $NS = cleanID($NS); if(auth_quickaclcheck("$NS:*") >= AUTH_UPLOAD){ $uploadok = true; //create the given namespace (just for beautification) $mdir = $conf['mediadir'].'/'.str_replace(':','/',$NS); io_mkdir_p($mdir); }else{ $uploadok = false; } //start output html_head(); ?>