Vergleich inc/mailhandlers/php.php - 1.8.7 - 1.8.37

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 36Zeile 36
		global $lang, $mybb;

// For some reason sendmail/qmail doesn't like \r\n

		global $lang, $mybb;

// For some reason sendmail/qmail doesn't like \r\n

 
		/*

		$this->sendmail = @ini_get('sendmail_path');
if($this->sendmail)
{

		$this->sendmail = @ini_get('sendmail_path');
if($this->sendmail)
{

Zeile 43Zeile 44
			$this->message = str_replace("\r\n", "\n", $this->message);
$this->delimiter = "\n";
}

			$this->message = str_replace("\r\n", "\n", $this->message);
$this->delimiter = "\n";
}

 
		*/


// Some mail providers ignore email's with incorrect return-to path's so try and fix that here
$this->sendmail_from = @ini_get('sendmail_from');


// Some mail providers ignore email's with incorrect return-to path's so try and fix that here
$this->sendmail_from = @ini_get('sendmail_from');

Zeile 51Zeile 53
			@ini_set("sendmail_from", $mybb->settings['adminemail']);
}


			@ini_set("sendmail_from", $mybb->settings['adminemail']);
}


		$dir = "/{$config['admin_dir']}/";

		$dir = "/{$mybb->config['admin_dir']}/";

		$pos = strrpos($_SERVER['PHP_SELF'], $dir);
if(defined('IN_ADMINCP') && $pos !== false)
{

		$pos = strrpos($_SERVER['PHP_SELF'], $dir);
if(defined('IN_ADMINCP') && $pos !== false)
{