From 9f3515799ace3ea5704b5c729d728a0f77ec83c0 Mon Sep 17 00:00:00 2001 From: slerena Date: Wed, 29 Aug 2007 11:41:26 +0000 Subject: [PATCH] 2008-08-29 Sancho Lerena * include/config.inc.php: Change defaults to avoid problems with attachments. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@629 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 6 +++++- pandora_console/include/config.inc.php | 9 +++++---- 2 files changed, 10 insertions(+), 5 deletions(-) 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";