Mailer.php
authorAlan Knowles <alan@roojs.com>
Tue, 22 Sep 2015 02:48:57 +0000 (10:48 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 22 Sep 2015 02:48:57 +0000 (10:48 +0800)
Mailer.php

index 040379c..2844993 100644 (file)
@@ -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)) {