* finish task #1967.

This commit is contained in:
wangyidong
2014-07-29 01:09:28 +00:00
parent 5696caf06f
commit 4ae0876ba3
3 changed files with 5 additions and 0 deletions
+3
View File
@@ -243,6 +243,9 @@ class mailModel extends model
{
if(!$this->config->mail->turnon) return;
/* Task #1967. check the function of fsocket. */
if(function_exists('fsockopen')) die(js::alert($this->lang->mail->nofsocket));
ob_start();
$toList = $toList ? explode(',', str_replace(' ', '', $toList)) : array();
$ccList = $ccList ? explode(',', str_replace(' ', '', $ccList)) : array();