summaryrefslogtreecommitdiff
path: root/www/browse.php
diff options
context:
space:
mode:
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">