summaryrefslogtreecommitdiff
path: root/www/browse.php
diff options
context:
space:
mode:
authoroweissbarth2014-03-17 22:13:02 +0100
committeroweissbarth2014-03-17 22:13:02 +0100
commit324b9dc8d4dfb06532f698c2bf6ac88bcc1fc0c7 (patch)
treef85fb101bb90963d496138a65ee2212374cab6d2 /www/browse.php
parent6603e80a78ef7b8aa90bd3dce6e24e259f3f622a (diff)
downloadfiles.iamfabulous.de-324b9dc8d4dfb06532f698c2bf6ac88bcc1fc0c7.tar.gz
fixed wrong action
Diffstat (limited to 'www/browse.php')
-rw-r--r--www/browse.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/browse.php b/www/browse.php
index 7594cd4..d01df6e 100644
--- a/www/browse.php
+++ b/www/browse.php
@@ -46,7 +46,7 @@ function browse($content){
<div id="new-folder-bg">
<div id="new-folder-area">
<h1 class="new-folder-"> New Folder </h1>
- <form id="new-folder-form" method="post" action="'.$_GET["name"].$_GET["folder"].'">
+ <form id="new-folder-form" method="post" action="/'.$_GET["name"]."/".$_GET["folder"].'">
<input class="new-folder-input" id="new-folder-name" type="text" placeholder="name" name="foldername" required>
<input type="hidden" value="'.$_GET["folder"].'" name="path">
<label style="display:inline">Public</label><input style="display:inline; margin-left: 5px;" class="new-folder-input" type="checkbox" name="public">