summaryrefslogtreecommitdiffstats
path: root/apps/files/index.php
diff options
context:
space:
mode:
authorFrank Karlitschek <frank@owncloud.org>2012-05-02 13:28:56 +0200
committerFrank Karlitschek <frank@owncloud.org>2012-05-02 13:28:56 +0200
commit8e99475886fa3fc23dd576cce7eaefd532c3fe5c (patch)
tree206c1923ac04eea8702805c1e02088b729ff1b9b /apps/files/index.php
parent8c7f8546716ac77cdeaa134caf9fae22232ce213 (diff)
downloadnextcloud-server-8e99475886fa3fc23dd576cce7eaefd532c3fe5c.tar.gz
nextcloud-server-8e99475886fa3fc23dd576cce7eaefd532c3fe5c.zip
first part of the config stuff
Diffstat (limited to 'apps/files/index.php')
-rwxr-xr-xapps/files/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/index.php b/apps/files/index.php
index 86b877115ca..e2a0eb80a03 100755
--- a/apps/files/index.php
+++ b/apps/files/index.php
@@ -96,7 +96,7 @@ $tmpl->assign( 'readonly', !OC_Filesystem::is_writable($dir));
$tmpl->assign( "files", $files );
$tmpl->assign( 'uploadMaxFilesize', $maxUploadFilesize);
$tmpl->assign( 'uploadMaxHumanFilesize', OCP\Util::humanFileSize($maxUploadFilesize));
-$tmpl->assign( 'allowZipDownload', intval(OC_Config::getValue('allowZipDownload', true)));
+$tmpl->assign( 'allowZipDownload', intval(OCP\Config::getSystemValue('allowZipDownload', true)));
$tmpl->printPage();
?>