diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2011-04-17 12:03:23 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2011-04-17 12:03:23 +0200 |
commit | a14f8243e8b137fb57fa6071de7d1ebe7268866c (patch) | |
tree | bd107f63dfadcb246fdae407ff88371deb1d32b4 /files/templates | |
parent | ab155de14fbc046d78b4eeaac0e8350c4b38dc98 (diff) | |
download | nextcloud-server-a14f8243e8b137fb57fa6071de7d1ebe7268866c.tar.gz nextcloud-server-a14f8243e8b137fb57fa6071de7d1ebe7268866c.zip |
get max upload file size for upload form from php settings
Diffstat (limited to 'files/templates')
-rw-r--r-- | files/templates/index.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/files/templates/index.php b/files/templates/index.php index 49742a98136..40113c9fe0c 100644 --- a/files/templates/index.php +++ b/files/templates/index.php @@ -8,7 +8,7 @@ href="" title="" class="delete">Delete</a> <div id="file_upload_form"> <form action="ajax/upload.php" method="post" enctype="multipart/form-data" target="file_upload_target"><input -type="hidden" name="MAX_FILE_SIZE" value="2097152" id="max_upload"><input +type="hidden" name="MAX_FILE_SIZE" value="<?php echo $_["uploadMaxFilesize"] ?>" id="max_upload"><input type="hidden" name="dir" value="<?php echo $_["dir"] ?>" id="dir"><input type="file" name="file" id="fileSelector"><input type="submit" id="file_upload_start" value="Upload" /><iframe id="file_upload_target" |