diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 7ed6922c4d..021ced7c87 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,9 +1,13 @@ + +2008-08-29 Sancho Lerena + + * include/config.inc.php: Change defaults to avoid problems with attachments. + 2008-08-28 Sancho Lerena * pandora_console/operation/reporting/graph_viewer.php: Fixed dimensions of graph view - 2007-08-27 Sancho Lerena * operation/agentes/ver_agente.php: Truncated too long agent names. diff --git a/pandora_console/include/config.inc.php b/pandora_console/include/config.inc.php index 2c01a0f66b..6d9ce65a21 100644 --- a/pandora_console/include/config.inc.php +++ b/pandora_console/include/config.inc.php @@ -42,12 +42,13 @@ if (!isset($pandora_version)) //error_reporting(0); // Need to use active console at this moment // Display ALL errors -error_reporting(E_ALL); +error_reporting(E_ERROR); -//This is directory where placed "attachment" directory, to upload files stores. +// This is directory where placed "/attachment" directory, to upload files stores. // This MUST be writtable by http server user, and should be in pandora root. -// Please append "/" to the end. -$attachment_store=$config_homedir."/attachment/"; +// By default, Pandora adds /attachment to this, so by default is the pandora console home dir + +$attachment_store=$config_homedir; // Default font used for graphics (a Free TrueType font included with Pandora FMS) $config_fontpath = $config_homedir."/reporting/FreeSans.ttf";