1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-26 07:44:49 +02:00

Prevent direct page output

This commit is contained in:
secretr
2012-05-09 14:56:28 +00:00
parent ee1af5e9cd
commit bed78df539
2 changed files with 12 additions and 12 deletions

View File

@@ -8,10 +8,8 @@
*
* e107 Main
*
* $Source: /cvs_backup/e107_0.8/e107_handlers/mail.php,v $
* $Revision$
* $Date$
* $Author$
* $URL$
* $Id$
*/
/**
@@ -251,7 +249,7 @@ class e107Email extends PHPMailer
$this->Port = 465;
break;
default :
echo "Invalid option: {$smtp_options['secure']}<br />";
if (defined('MAIL_DEBUG')) echo "Invalid option: {$smtp_options['secure']}<br />";
}
}
$this->SMTPKeepAlive = varset($smtp_options['keepalive'],FALSE); // ***** Control this
@@ -757,7 +755,7 @@ class e107Email extends PHPMailer
}
else
{
echo "Add embedded image {$url} failed<br />";
if (defined('MAIL_DEBUG')) echo "Add embedded image {$url} failed<br />";
}
}
}