From: Alan Knowles Date: Tue, 22 Sep 2015 02:48:57 +0000 (+0800) Subject: Mailer.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=b8f94f939867650ce34db0fcd87ae562a719d313 Mailer.php --- diff --git a/Mailer.php b/Mailer.php index 040379c0..28449934 100644 --- a/Mailer.php +++ b/Mailer.php @@ -391,7 +391,7 @@ class Pman_Core_Mailer { $url = $link->getAttribute('href'); $file = $ff->rootDir . $url; - if (!preg_match('#^http://#', $url)) { + if (!preg_match('#^(http|https)://#', $url)) { $file = $ff->rootDir . $url; if (!file_exists($file)) {