* finish task #2719,2729.
This commit is contained in:
@@ -290,7 +290,7 @@ class mailModel extends model
|
||||
$this->clear();
|
||||
|
||||
/* Replace full webPath image for mail. */
|
||||
if(strpos($body, 'src="data/upload')) $body = preg_replace('/<img (.*)src="data\/upload/', '<img $1 src="http://' . $this->server->http_host . $this->config->webRoot . 'data/upload', $body);
|
||||
if(strpos($body, 'src="data/upload')) $body = preg_replace('/<img (.*)src="data\/upload/', '<img $1 src="' . zget($this->config->mail, 'domain', common::getSysURL()) . $this->config->webRoot . 'data/upload', $body);
|
||||
|
||||
try
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user