projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15a6614
)
Mailer.php
author
Alan Knowles
<alan@roojs.com>
Tue, 22 Sep 2015 02:48:57 +0000
(10:48 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 22 Sep 2015 02:48:57 +0000
(10:48 +0800)
Mailer.php
patch
|
blob
|
history
diff --git
a/Mailer.php
b/Mailer.php
index
040379c
..
2844993
100644
(file)
--- 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)) {