* This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ /* * Global Settings * @author f0o * @copyright 2015 f0o, LibreNMS * @license GPL * @package LibreNMS * @subpackage Page */ if (empty($vars['sub'])) { $page_name = 'Global'; } else { $page_name = ucfirst($vars['sub']); } $pagetitle[] = $page_name . ' Settings'; $config['memcached']['enable'] = false; ?>



"; foreach( $a as $k=>$v ) { if( !empty($v) ) { $r .= "".$k."".(is_array($v)?a2t($v):"".wordwrap($v,75,"
")."
").""; } } $r .= ''; return $r; } echo "
".a2t($config)."
"; if ($_SESSION['userlevel'] >= '10') { if ($debug) { echo("
");
                print_r($config);
                echo("
"); } } else { include 'includes/error-no-perm.inc.php'; } } } else { include 'includes/error-no-perm.inc.php'; } ?>