summaryrefslogtreecommitdiffstats
path: root/apps/files_encryption/settings.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_encryption/settings.php')
-rw-r--r--apps/files_encryption/settings.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files_encryption/settings.php b/apps/files_encryption/settings.php
index 396ad1ba78d..01caefd1249 100644
--- a/apps/files_encryption/settings.php
+++ b/apps/files_encryption/settings.php
@@ -8,7 +8,9 @@
$tmpl = new OC_Template( 'files_encryption', 'settings');
$blackList=explode(',',OC_Appconfig::getValue('files_encryption','type_blacklist','jpg,png,jpeg,avi,mpg,mpeg,mkv,mp3,oga,ogv,ogg'));
+$enabled=(OC_Appconfig::getValue('files_encryption','enable_encryption','true')=='true');
$tmpl->assign('blacklist',$blackList);
+$tmpl->assign('encryption_enabled',$enabled);
OC_Util::addScript('files_encryption','settings');
OC_Util::addScript('core','multiselect');