mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-20 10:09:45 +02:00
- we need at least 4.3.3, "phpversion() < '4.3'" will always be false
git-svn-id: file:///svn/phpbb/trunk@6778 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@ -26,15 +26,6 @@ class messenger
|
||||
*/
|
||||
function messenger($use_queue = true)
|
||||
{
|
||||
global $config;
|
||||
|
||||
if (preg_match('#^[c-z]:\\\#i', getenv('PATH')) && !$config['smtp_delivery'] && phpversion() < '4.3')
|
||||
{
|
||||
// We are running on windows, force delivery to use our smtp functions since php's are broken by default
|
||||
$config['smtp_delivery'] = 1;
|
||||
$config['smtp_host'] = @ini_get('SMTP');
|
||||
}
|
||||
|
||||
$this->use_queue = $use_queue;
|
||||
$this->subject = '';
|
||||
}
|
||||
|
Reference in New Issue
Block a user