* adjust code for task #1967.

This commit is contained in:
wangyidong
2014-08-04 01:38:14 +00:00
parent ea972df479
commit 408f5588ab
2 changed files with 18 additions and 3 deletions
+18
View File
@@ -11,6 +11,24 @@
*/
class mail extends control
{
/**
* Construct.
*
* @access public
* @return void
*/
public function __construct()
{
parent::__construct();
/* Task #1967. check the function of fsocket. */
if(!function_exists('fsockopen'))
{
echo js::alert($this->lang->mail->nofsocket);
die(js::locate('back'));
}
}
/**
* The index page, goto edit page or detect page.
*