mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00: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:
parent
e84d85d88c
commit
f50d52588c
1 changed files with 0 additions and 9 deletions
|
@ -26,15 +26,6 @@ class messenger
|
||||||
*/
|
*/
|
||||||
function messenger($use_queue = true)
|
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->use_queue = $use_queue;
|
||||||
$this->subject = '';
|
$this->subject = '';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue