Improved config.inc file content descriptions
This commit is contained in:
parent
c2eb452ec0
commit
1cbda1ce15
|
@ -1,38 +1,54 @@
|
||||||
<?php
|
<?php
|
||||||
// Pandora FMS - http://pandorafms.com
|
|
||||||
// ==================================================
|
|
||||||
// Copyright (c) 2005-2021 Artica Soluciones Tecnologicas
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU Lesser General Public License
|
|
||||||
// as published by the Free Software Foundation; version 2
|
|
||||||
//
|
|
||||||
// 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.
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @package Include
|
* Configuraton sample file.
|
||||||
* @subpackage Config
|
*
|
||||||
|
* @category Config
|
||||||
|
* @package Pandora FMS
|
||||||
|
* @subpackage Community
|
||||||
|
* @version 1.0.0
|
||||||
|
* @license See below
|
||||||
|
*
|
||||||
|
* ______ ___ _______ _______ ________
|
||||||
|
* | __ \.-----.--.--.--| |.-----.----.-----. | ___| | | __|
|
||||||
|
* | __/| _ | | _ || _ | _| _ | | ___| |__ |
|
||||||
|
* |___| |___._|__|__|_____||_____|__| |___._| |___| |__|_|__|_______|
|
||||||
|
*
|
||||||
|
* ============================================================================
|
||||||
|
* Copyright (c) 2005-2021 Artica Soluciones Tecnologicas
|
||||||
|
* Please see http://pandorafms.org for full contribution list
|
||||||
|
* 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 for version 2.
|
||||||
|
* 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.
|
||||||
|
* ============================================================================
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Default values
|
/*
|
||||||
// $config["dbname"]="pandora";
|
* Default values
|
||||||
// $config["dbuser"]="pandora";
|
* $config["dbname"]="pandora";
|
||||||
// $config["dbpass"]="pandora";
|
* $config["dbuser"]="pandora";
|
||||||
// $config["dbhost"]="localhost";
|
* $config["dbpass"]="pandora";
|
||||||
// This is used for reporting, please add "/" character at the end
|
* $config["dbhost"]="localhost";
|
||||||
// $config["homedir"]="/var/www/pandora_console/";
|
*
|
||||||
// $config["homeurl"]="/pandora_console/";
|
*
|
||||||
// $config["auth"]["scheme"] = "mysql";
|
* This is used for reporting, please add "/" character at the end
|
||||||
|
* $config["homedir"]="/var/www/pandora_console/";
|
||||||
/**
|
* $config["homeurl"]="/pandora_console/";
|
||||||
* Do not display any ERROR
|
* $config["auth"]["scheme"] = "mysql";
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
// By default report any error but notices.
|
||||||
error_reporting(E_ALL ^ E_NOTICE);
|
error_reporting(E_ALL ^ E_NOTICE);
|
||||||
|
|
||||||
// Display ALL errors
|
/*
|
||||||
// error_reporting(E_ERROR);
|
* Uncomment to display only critical errors.
|
||||||
|
* error_reporting(E_ERROR);
|
||||||
|
* Uncomment to display none errors.
|
||||||
|
* error_reporting(0);
|
||||||
|
*/
|
||||||
|
|
||||||
$ownDir = dirname(__FILE__).DIRECTORY_SEPARATOR;
|
$ownDir = dirname(__FILE__).DIRECTORY_SEPARATOR;
|
||||||
require $ownDir.'config_process.php';
|
require $ownDir.'config_process.php';
|
||||||
|
|
Loading…
Reference in New Issue