From 86c807f03962458c9604714c4ccf56cba0d25e02 Mon Sep 17 00:00:00 2001 From: cajus Date: Thu, 28 Jun 2007 11:25:02 +0000 Subject: [PATCH] More error text... git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6730 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/php_setup.inc | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/include/php_setup.inc b/include/php_setup.inc index 3e80fad14..321238ceb 100644 --- a/include/php_setup.inc +++ b/include/php_setup.inc @@ -68,10 +68,18 @@ function gosaRaiseError($errno, $errstr, $errfile, $errline) /* Mailto body header */ $error_collector_mailto .=prepare4mailbody( - "GOsa bug report". - "\nGOsa Version : ".get_gosa_version(). - "\nDate : ".date("H:i:s d.m.Y"). - "\n\n"); + "Oups. Seems like you've catched some kind of bug inside GOsa/PHP. You may want to help ". + "us to improve the software stability. If so, please provide some more information below.". + "\n\n". + "*** GOsa bug report ***". + "\nGOsa Version: ".get_gosa_version(). + "\nDate: ".date("d.m.Y"). + "\nTime: ".date("H:i:s"). + "\n\n". + "Please describe what you did to produce this error as detailed as possible. Can you ". + "reproduce this bug using the demo on http://www.gosa-project.org ?". + "\n\n". + "*** PHP error information ***\n\n"); if (isset($_SESSION['js']) && $_SESSION['js']==FALSE){ $error_collector= "
"; -- 2.30.2