setloglevel.php 327 B

123456789101112131415
  1. <?php
  2. /**
  3. * Copyright (c) 2011, Robin Appelman <icewind1991@gmail.com>
  4. * This file is licensed under the Affero General Public License version 3 or later.
  5. * See the COPYING-README file.
  6. */
  7. require_once('../../lib/base.php');
  8. OC_Util::checkAdminUser();
  9. OC_Config::setValue( 'loglevel', $_POST['level'] );
  10. echo 'true';
  11. ?>