projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86f0467
)
Import/Core_email.php
author
Alan Knowles
<alan@roojs.com>
Mon, 9 Feb 2015 10:16:29 +0000
(18:16 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 9 Feb 2015 10:16:29 +0000
(18:16 +0800)
Import/Core_email.php
patch
|
blob
|
history
diff --git
a/Import/Core_email.php
b/Import/Core_email.php
index
8dd0697
..
962cef8
100644
(file)
--- a/
Import/Core_email.php
+++ b/
Import/Core_email.php
@@
-32,7
+32,7
@@
class Pman_Core_Import_Core_email extends Pman
function get($part='', $opts){
- $template_name = preg_replace('/\.[a-z]+$/i',
dir
name($opts['file']),'');
+ $template_name = preg_replace('/\.[a-z]+$/i',
base
name($opts['file']),'');
if (!file_exists($opts['file'])) {
$this->jerr("file does not exist : " . $opts['file']);