From 8dd5e97b489505a9f48d0eca1a9f3edf8f07a8f6 Mon Sep 17 00:00:00 2001 From: andi <andi@splitbrain.org> Date: Fri, 24 Jun 2005 14:00:23 +0200 Subject: [PATCH] fixed upload form action link #418 darcs-hash:20050624120023-9977f-0160b8816c006dfcef83d1da737f6bcd2a0d7483.gz --- inc/template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/template.php b/inc/template.php index b37d335a8..cdfd85376 100644 --- a/inc/template.php +++ b/inc/template.php @@ -662,7 +662,7 @@ function tpl_mediauploadform(){ if(!$UPLOADOK) return; - ptln('<form action="'.$_SERVER['PHP_SELF'].'" name="upload"'. + ptln('<form action="'.DOKU_BASE.'lib/exe/media.php" name="upload"'. ' method="post" enctype="multipart/form-data">',2); ptln($lang['txt_upload'].':<br />',4); ptln('<input type="file" name="upload" class="edit" onchange="suggestWikiname();" />',4); -- GitLab