Added request URI to debug_report_bug() function
[mailer.git] / inc / functions.php
index a515308c035b9790ef8dc1e04ab29eaa17513818..43eac3f8f32b186d6cd30fa824356e62343c4d9b 100644 (file)
@@ -2750,9 +2750,10 @@ function debug_report_bug ($message = "") {
        } // END - if
 
        // Add output
-       $debug .= "Please report this error at <a href=\"http://bugs.mxchange.org\" rel=\"external\" target=\"_blank\">bugs.mxchange.org</a>:<pre>";
+       $debug .= "Please report this bug at <a href=\"http://bugs.mxchange.org\" rel=\"external\" target=\"_blank\">bugs.mxchange.org</a>:<pre>";
        $debug .= debug_get_printable_backtrace();
-       $debug .= "</pre>Thank you for finding bugs.";
+       $debug .= "</pre>Request-URI: ".$_SERVER['REQUEST_URI']."<br />\n";
+       $debug .= "Thank you for finding bugs.";
 
        // And abort here
        // @TODO This cannot be rewritten to mxchange_die(), try to find a solution for this.