summaryrefslogtreecommitdiffstats
path: root/settings/ajax/setloglevel.php
diff options
context:
space:
mode:
Diffstat (limited to 'settings/ajax/setloglevel.php')
-rw-r--r--settings/ajax/setloglevel.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/settings/ajax/setloglevel.php b/settings/ajax/setloglevel.php
index 4b97ba2aa32..982899e106a 100644
--- a/settings/ajax/setloglevel.php
+++ b/settings/ajax/setloglevel.php
@@ -5,12 +5,10 @@
* See the COPYING-README file.
*/
-require_once('../../lib/base.php');
+require_once '../../lib/base.php';
OC_Util::checkAdminUser();
OCP\JSON::callCheck();
OC_Config::setValue( 'loglevel', $_POST['level'] );
echo 'true';
-
-?> \ No newline at end of file