parent
820cd0fb75
commit
d9372ac766
@ -0,0 +1,15 @@ |
||||
<?php |
||||
/** |
||||
* Copyright (c) 2011, Robin Appelman <icewind1991@gmail.com> |
||||
* This file is licensed under the Affero General Public License version 3 or later. |
||||
* See the COPYING-README file. |
||||
*/ |
||||
|
||||
require_once('../../lib/base.php'); |
||||
OC_Util::checkAdminUser(); |
||||
|
||||
OC_Config::setValue( 'loglevel', $_POST['level'] ); |
||||
|
||||
echo 'true'; |
||||
|
||||
?> |
@ -0,0 +1,5 @@ |
||||
$(document).ready(function(){ |
||||
$('#loglevel').change(function(){ |
||||
$.post(OC.filePath('settings','ajax','setloglevel.php'), { level: $(this).val() } ); |
||||
}) |
||||
}); |
Loading…
Reference in new issue