diff options
author | Robin Appelman <icewind1991@gmail.com> | 2011-10-16 21:08:44 +0200 |
---|---|---|
committer | Robin Appelman <icewind1991@gmail.com> | 2011-10-16 21:11:03 +0200 |
commit | d9372ac76606cd10e680852dde090171f04f5dee (patch) | |
tree | e8bf84832ede4225cdefd839d0da8d2f1f294d64 /settings/admin.php | |
parent | 820cd0fb75bac88b4debe8f3fb28c1118b8587fa (diff) | |
download | nextcloud-server-d9372ac76606cd10e680852dde090171f04f5dee.tar.gz nextcloud-server-d9372ac76606cd10e680852dde090171f04f5dee.zip |
make log level configurable
Diffstat (limited to 'settings/admin.php')
-rw-r--r-- | settings/admin.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/settings/admin.php b/settings/admin.php index 81ed6aa9516..9ee79002b5e 100644 --- a/settings/admin.php +++ b/settings/admin.php @@ -9,10 +9,12 @@ require_once('../lib/base.php'); OC_Util::checkAdminUser(); OC_Util::addStyle( "settings", "settings" ); +OC_Util::addScript( "settings", "admin" ); OC_App::setActiveNavigationEntry( "admin" ); $tmpl = new OC_Template( 'settings', 'admin', 'user'); $forms=OC_App::getForms('admin'); +$tmpl->assign('loglevel',OC_Config::getValue( "loglevel", 2 )); $tmpl->assign('forms',array()); foreach($forms as $form){ $tmpl->append('forms',$form); |