summaryrefslogtreecommitdiffstats
path: root/files/index.php
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2012-03-21 13:10:02 +0100
committerArthur Schiwon <blizzz@owncloud.com>2012-03-21 13:10:02 +0100
commitd91bc9b317b440a0720fe9b7ca3f43538d840af8 (patch)
tree3cd77da5428cc7c0f0fa55a3f2a05bd7e0392833 /files/index.php
parent7c815054c7bc43d1147294faddbb822c099a1f53 (diff)
downloadnextcloud-server-d91bc9b317b440a0720fe9b7ca3f43538d840af8.tar.gz
nextcloud-server-d91bc9b317b440a0720fe9b7ca3f43538d840af8.zip
use placeholder in template file
Diffstat (limited to 'files/index.php')
-rw-r--r--files/index.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/files/index.php b/files/index.php
index 79261e495be..82d09608924 100644
--- a/files/index.php
+++ b/files/index.php
@@ -98,6 +98,7 @@ $tmpl->assign( 'readonly', !OC_Filesystem::is_writable($dir));
$tmpl->assign( "files", $files );
$tmpl->assign( 'uploadMaxFilesize', $maxUploadFilesize);
$tmpl->assign( 'uploadMaxHumanFilesize', OC_Helper::humanFileSize($maxUploadFilesize));
+$tmpl->assign( 'allowZipDownload', intval(OC_Config::getValue('allowZipDownload', true)));
$tmpl->printPage();
?>