]> git.mxchange.org Git - mailer.git/blobdiff - inc/functions.php
Notice added to always include debug.log in your full bug report
[mailer.git] / inc / functions.php
index 2276a0f42b35d7aec9db2ec014aa7ab8926f6c53..b69c8142dab1f2786ffe7652d49de2327bdbe18f 100644 (file)
@@ -905,7 +905,7 @@ function redirectToUrl ($URL) {
        } // END - if
 
        // Three different debug ways...
-       /* DEBUG: */ debug_report_bug(sprintf("%s[%s:] URL=%s", __FUNCTION__, __LINE__, $URL));
+       //* DEBUG: */ debug_report_bug(sprintf("%s[%s:] URL=%s", __FUNCTION__, __LINE__, $URL));
        //* DEBUG: */ DEBUG_LOG(__FUNCTION__, __LINE__, $URL);
        //* DEBUG: */ die($URL);
 
@@ -2611,7 +2611,7 @@ function debug_report_bug ($message = '') {
        } // END - if
 
        // Add output
-       $debug .= "Please report this bug at <a href=\"http://bugs.mxchange.org\" rel=\"external\" target=\"_blank\">bugs.mxchange.org</a>:<pre>";
+       $debug .= "Please report this bug at <a title=\"Direct link to the bug-tracker\" href=\"http://bugs.mxchange.org\" rel=\"external\" target=\"_blank\">bugs.mxchange.org</a> and include the logfile from <strong>inc/cache/debug.log</strong> in your report (you cannot attach files!):<pre>";
        $debug .= debug_get_printable_backtrace();
        $debug .= "</pre>\nRequest-URI: ".$_SERVER['REQUEST_URI']."<br />\n";
        $debug .= "Thank you for finding bugs.";