Code

More error text...
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 28 Jun 2007 11:25:02 +0000 (11:25 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 28 Jun 2007 11:25:02 +0000 (11:25 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6730 594d385d-05f5-0310-b6e9-bd551577e9d8

include/php_setup.inc

index 3e80fad14a5bd009cec7bfedb9046c347355477a..321238ceb6b4f05adbe6ae4cad6c88831051b830 100644 (file)
@@ -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= "<div>";