1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-06 14:46:56 +02:00

Corrected debug setup in bounce handler script.

This commit is contained in:
Cameron
2014-10-27 21:13:33 -07:00
parent 38ff75d27e
commit 767b015b9e

View File

@@ -4,7 +4,7 @@
// WARNING, any echoed output from this script will be returned to the sender as a bounce message.
$_E107['debug'] = true;
$_E107['debug'] = false;
if (!defined('e107_INIT'))
@@ -14,6 +14,10 @@ if (!defined('e107_INIT'))
require_once($class2);
}
if(ADMIN && varset($_GET['eml']))
{
$_E107['debug'] = true;
}
$bnc = new e107Bounce;
$process = (varset($_GET['eml']) && $_E107['debug']) ? $_GET['eml'].".eml" : FALSE;
@@ -65,7 +69,7 @@ class e107Bounce
if(varset($_GET['eml']))
{
// echo $message;
echo $message;
}
else
{