summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorPellaeon Lin <nfsmwlin@gmail.com>2014-01-16 19:48:46 +0800
committerPellaeon Lin <nfsmwlin@gmail.com>2014-01-16 19:48:46 +0800
commit6ec50e4b0c435789732186eb3c6839883061e5a8 (patch)
tree2f08c294edc6f92f0034aeb8a51e8d588ceae325 /apps
parentcd6ab2931325323cb59961c4327a18d934ecc72a (diff)
downloadnextcloud-server-6ec50e4b0c435789732186eb3c6839883061e5a8.tar.gz
nextcloud-server-6ec50e4b0c435789732186eb3c6839883061e5a8.zip
Comments to clarify
Diffstat (limited to 'apps')
-rw-r--r--apps/files/index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files/index.php b/apps/files/index.php
index 4ea0f9f2496..c8b04bd4627 100644
--- a/apps/files/index.php
+++ b/apps/files/index.php
@@ -136,10 +136,10 @@ if ($needUpgrade) {
$tmpl->assign('files', $files);
$tmpl->assign('trash', $trashEnabled);
$tmpl->assign('trashEmpty', $trashEmpty);
- $tmpl->assign('uploadMaxFilesize', $maxUploadFilesize);
+ $tmpl->assign('uploadMaxFilesize', $maxUploadFilesize); // minimium of freeSpace and uploadLimit
$tmpl->assign('uploadMaxHumanFilesize', OCP\Util::humanFileSize($maxUploadFilesize));
$tmpl->assign('freeSpace', $freeSpace);
- $tmpl->assign('uploadLimit', $uploadLimit);
+ $tmpl->assign('uploadLimit', $uploadLimit); // PHP upload limit
$tmpl->assign('allowZipDownload', intval(OCP\Config::getSystemValue('allowZipDownload', true)));
$tmpl->assign('usedSpacePercent', (int)$storageInfo['relative']);
$tmpl->assign('isPublic', false);