summaryrefslogtreecommitdiffstats
path: root/apps/files/index.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2013-08-27 00:59:58 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2013-08-27 00:59:58 +0200
commit8cf9336bcbe527c3d3eb7b348f3a0feff799c1da (patch)
tree139922b8343a667017b4a0c54b7919b2bc944773 /apps/files/index.php
parent1e4ebf47e26579d6bd0334b4853ee0c960c1b2a6 (diff)
downloadnextcloud-server-8cf9336bcbe527c3d3eb7b348f3a0feff799c1da.tar.gz
nextcloud-server-8cf9336bcbe527c3d3eb7b348f3a0feff799c1da.zip
storage information is path specific
Diffstat (limited to 'apps/files/index.php')
-rw-r--r--apps/files/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/index.php b/apps/files/index.php
index 94c792303da..e4d8e353858 100644
--- a/apps/files/index.php
+++ b/apps/files/index.php
@@ -119,7 +119,7 @@ if ($needUpgrade) {
$tmpl->printPage();
} else {
// information about storage capacities
- $storageInfo=OC_Helper::getStorageInfo();
+ $storageInfo=OC_Helper::getStorageInfo($dir);
$maxUploadFilesize=OCP\Util::maxUploadFilesize($dir);
$publicUploadEnabled = \OC_Appconfig::getValue('core', 'shareapi_allow_public_upload', 'yes');
if (OC_App::isEnabled('files_encryption')) {