summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorGeorg Ehrke <dev@georgswebsite.de>2012-04-23 16:25:07 +0200
committerGeorg Ehrke <dev@georgswebsite.de>2012-04-23 16:25:07 +0200
commit3b9d28324519993e032a8c743bd8caf52f99bf1e (patch)
tree5b165f92f39e582b58612fac7a6b86c237f4f0f5 /apps
parentc0df15367ff411bb8bf8c58f74027ed7c1275e9e (diff)
downloadnextcloud-server-3b9d28324519993e032a8c743bd8caf52f99bf1e.tar.gz
nextcloud-server-3b9d28324519993e032a8c743bd8caf52f99bf1e.zip
fix path in apps/files/templats/index.php
Diffstat (limited to 'apps')
-rw-r--r--apps/files/templates/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/templates/index.php b/apps/files/templates/index.php
index b21cf0aeb02..3571950467e 100644
--- a/apps/files/templates/index.php
+++ b/apps/files/templates/index.php
@@ -12,7 +12,7 @@
</ul>
</div>
<div class="file_upload_wrapper svg">
- <form data-upload-id='1' class="file_upload_form" action="ajax/upload.php" method="post" enctype="multipart/form-data" target="file_upload_target_1">
+ <form data-upload-id='1' class="file_upload_form" action="<?php echo OC_Helper::linkto('files', 'ajax/upload.php'); ?>" method="post" enctype="multipart/form-data" target="file_upload_target_1">
<input type="hidden" name="MAX_FILE_SIZE" value="<?php echo $_['uploadMaxFilesize'] ?>" id="max_upload">
<input type="hidden" class="max_human_file_size" value="(max <?php echo $_['uploadMaxHumanFilesize']; ?>)">
<input type="hidden" name="dir" value="<?php echo htmlentities($_['dir']) ?>" id="dir">