projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
85b4aa4
)
ImportMailMessage.php
author
Edward
<edward@roojs.com>
Thu, 20 Feb 2014 04:48:55 +0000
(12:48 +0800)
committer
Edward
<edward@roojs.com>
Thu, 20 Feb 2014 04:48:55 +0000
(12:48 +0800)
ImportMailMessage.php
patch
|
blob
|
history
diff --git
a/ImportMailMessage.php
b/ImportMailMessage.php
index
e3cdad6
..
4dc240a
100644
(file)
--- 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']))
{
// 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);
$this->checkHeader($_REQUEST['importUrl']);
$data = $this->convertStyle($_REQUEST['importUrl'], '', true);
- // print_r($data);exit;
+
$this->jok($data);
}
$this->jok($data);
}