From 849c0a0caffbc3397b1dfa181899548112d8d758 Mon Sep 17 00:00:00 2001 From: Edward Date: Thu, 20 Feb 2014 12:48:55 +0800 Subject: [PATCH] ImportMailMessage.php --- ImportMailMessage.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/ImportMailMessage.php b/ImportMailMessage.php index e3cdad6d..4dc240ae 100644 --- a/ImportMailMessage.php +++ b/ImportMailMessage.php @@ -60,14 +60,9 @@ class Pman_Crm_ImportHtml extends Pman_Core_ConvertStyle // Import from URL if(isset($_REQUEST['importUrl'])) { - // $host = parse_url($_REQUEST['importUrl']); -// if($host['host'] != 'localhost' && $host['host'] != 'roojs-edward.com' && $host['host'] != $_SERVER['HTTP_HOST']) -// { -// $this->jerr('Invalid URL!'); -// } $this->checkHeader($_REQUEST['importUrl']); $data = $this->convertStyle($_REQUEST['importUrl'], '', true); - // print_r($data);exit; + $this->jok($data); } -- 2.39.2