projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7dd00b2
)
Mailer.php
author
Alan Knowles
<alan@roojs.com>
Wed, 22 Aug 2012 05:05:54 +0000
(13:05 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 22 Aug 2012 05:05:54 +0000
(13:05 +0800)
Mailer.php
patch
|
blob
|
history
diff --git
a/Mailer.php
b/Mailer.php
index
574d9c5
..
63c78ba
100644
(file)
--- a/
Mailer.php
+++ b/
Mailer.php
@@
-211,7
+211,7
@@
class Pman_Core_Mailer {
{
if (preg_match('#^file:///#', $url)) {
- $file = preg_replace('#^file://
/
#', '', $url);
+ $file = preg_replace('#^file://#', '', $url);
require_once 'File/MimeType.php';
$m = new File_MimeType();
$mt = $m->fromFilename($file);