summaryrefslogtreecommitdiffstats
path: root/settings/admin.php
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2014-04-23 12:50:24 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2014-04-24 13:34:31 +0200
commit6650be99136bbeecc39a28cbe9c22de0c5cf08ac (patch)
tree169e3a0eb7ce95878ddc89387cfd948a53586040 /settings/admin.php
parent8127e984bdd56d53279d720d2cf0b5504633c375 (diff)
downloadnextcloud-server-6650be99136bbeecc39a28cbe9c22de0c5cf08ac.tar.gz
nextcloud-server-6650be99136bbeecc39a28cbe9c22de0c5cf08ac.zip
add setting to set default expire date
Diffstat (limited to 'settings/admin.php')
-rwxr-xr-xsettings/admin.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/settings/admin.php b/settings/admin.php
index bce18b7cf6a..49dde59ce2a 100755
--- a/settings/admin.php
+++ b/settings/admin.php
@@ -45,6 +45,10 @@ $tmpl->assign('backgroundjobs_mode', OC_Appconfig::getValue('core', 'backgroundj
$tmpl->assign('cron_log', OC_Config::getValue('cron_log', true));
$tmpl->assign('lastcron', OC_Appconfig::getValue('core', 'lastcron', false));
$tmpl->assign('shareAPIEnabled', OC_Appconfig::getValue('core', 'shareapi_enabled', 'yes'));
+$tmpl->assign('shareDefaultExpireDateSet', OC_Appconfig::getValue('core', 'shareapi_default_expire_date', 'no'));
+$tmpl->assign('shareExpireAfterNDays', OC_Appconfig::getValue('core', 'shareapi_expire_after_n_days', '7'));
+$tmpl->assign('shareEnforceExpireDate', OC_Appconfig::getValue('core', 'shareapi_enforce_expire_date', 'no'));
+
// Check if connected using HTTPS
if (OC_Request::serverProtocol() === 'https') {