Skip to content
This repository has been archived by the owner on Mar 2, 2021. It is now read-only.

Commit

Permalink
removed debug messages
Browse files Browse the repository at this point in the history
git-svn-id: https://seedframework.svn.sourceforge.net/svnroot/seedframework/trunk@523 e74265ba-5712-0410-b544-ed03b9d7f503
  • Loading branch information
mamihod committed May 19, 2009
1 parent 5a839b2 commit 08b89c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions error/lib/error/live.php
Expand Up @@ -33,7 +33,7 @@ function error_handler($errno, $errstr, $errfile, $errline, $errcontext)

// send email to admin?
if (defined('ADMIN_EMAIL') && _send_error_email($errno.$errstr)) {
print 'sending email';
//print 'sending email';
$error_message = ucfirst(error_string($errno))."\n".$errstr."\n$errfile in line $errline\n\n";
$error_message .= "-- backtrace --\n\n".backtrace(2)."\n";
$error_message .= "-- get --\n\n".print_r($_GET, true)."\n\n";
Expand All @@ -46,7 +46,7 @@ function error_handler($errno, $errstr, $errfile, $errline, $errcontext)
mail(ADMIN_EMAIL, 'PHP '.ucfirst(error_string($errno)).': '.$errstr, $error_message);

} else {
print 'dont send email';
//print 'dont send email';
}

die();
Expand Down

0 comments on commit 08b89c3

Please sign in to comment.