move phpmailer to lib/
This commit is contained in:
parent
b6775838b9
commit
d134e3a313
|
@ -43,9 +43,6 @@
|
|||
// some use-cases (if you have more than one tt-rss window open, for example)
|
||||
// so it is disabled by default.
|
||||
|
||||
define('MAIL_RESET_PASS', true);
|
||||
// Send mail to user on password reset
|
||||
|
||||
define('ENABLE_FEED_BROWSER', true);
|
||||
// Enable or disable local feed browser
|
||||
|
||||
|
|
|
@ -96,7 +96,7 @@
|
|||
require_once 'errors.php';
|
||||
require_once 'version.php';
|
||||
|
||||
require_once 'phpmailer/class.phpmailer.php';
|
||||
require_once 'lib/phpmailer/class.phpmailer.php';
|
||||
|
||||
define('MAGPIE_USER_AGENT_EXT', ' (Tiny Tiny RSS/' . VERSION . ')');
|
||||
define('MAGPIE_OUTPUT_ENCODING', 'UTF-8');
|
||||
|
@ -3618,8 +3618,8 @@
|
|||
|
||||
$mail = new PHPMailer();
|
||||
|
||||
$mail->PluginDir = "phpmailer/";
|
||||
$mail->SetLanguage("en", "phpmailer/language/");
|
||||
$mail->PluginDir = "lib/phpmailer/";
|
||||
$mail->SetLanguage("en", "lib/phpmailer/language/");
|
||||
|
||||
$mail->CharSet = "UTF-8";
|
||||
|
||||
|
|
|
@ -283,7 +283,7 @@
|
|||
print_notice(T_sprintf("Changed password of user <b>%s</b>
|
||||
to <b>%s</b>", $login, $tmp_user_pwd));
|
||||
|
||||
if (MAIL_RESET_PASS && $email) {
|
||||
if ($email) {
|
||||
print_notice(T_sprintf("Notifying <b>%s</b>.", $email));
|
||||
|
||||
require_once "MiniTemplator.class.php";
|
||||
|
@ -303,8 +303,8 @@
|
|||
|
||||
$mail = new PHPMailer();
|
||||
|
||||
$mail->PluginDir = "phpmailer/";
|
||||
$mail->SetLanguage("en", "phpmailer/language/");
|
||||
$mail->PluginDir = "lib/phpmailer/";
|
||||
$mail->SetLanguage("en", "lib/phpmailer/language/");
|
||||
|
||||
$mail->CharSet = "UTF-8";
|
||||
|
||||
|
|
|
@ -268,8 +268,8 @@
|
|||
|
||||
$mail = new PHPMailer();
|
||||
|
||||
$mail->PluginDir = "phpmailer/";
|
||||
$mail->SetLanguage("en", "phpmailer/language/");
|
||||
$mail->PluginDir = "lib/phpmailer/";
|
||||
$mail->SetLanguage("en", "lib/phpmailer/language/");
|
||||
|
||||
$mail->CharSet = "UTF-8";
|
||||
|
||||
|
@ -302,8 +302,8 @@
|
|||
|
||||
$mail = new PHPMailer();
|
||||
|
||||
$mail->PluginDir = "phpmailer/";
|
||||
$mail->SetLanguage("en", "phpmailer/language/");
|
||||
$mail->PluginDir = "lib/phpmailer/";
|
||||
$mail->SetLanguage("en", "lib/phpmailer/language/");
|
||||
|
||||
$mail->CharSet = "UTF-8";
|
||||
|
||||
|
|
Loading…
Reference in New Issue