作者 邓超

x

@@ -330,6 +330,11 @@ function sync($email_id,$worker_id){ @@ -330,6 +330,11 @@ function sync($email_id,$worker_id){
330 } 330 }
331 331
332 332
  333 +if(!function_exists("imap_open")){
  334 + echo '请安装imap扩展';
  335 + exit(0);
  336 +}
  337 +
333 338
334 339
335 $ps = "ps -ef | grep \"sync.php start\" | grep -v grep | wc -l"; 340 $ps = "ps -ef | grep \"sync.php start\" | grep -v grep | wc -l";