projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3362c19
)
Import/Core_email.php
author
Alan Knowles
<alan@roojs.com>
Mon, 9 Feb 2015 10:18:13 +0000
(18:18 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 9 Feb 2015 10:18:13 +0000
(18:18 +0800)
Import/Core_email.php
patch
|
blob
|
history
diff --git
a/Import/Core_email.php
b/Import/Core_email.php
index
9463c86
..
b590528
100644
(file)
--- a/
Import/Core_email.php
+++ b/
Import/Core_email.php
@@
-32,13
+32,12
@@
class Pman_Core_Import_Core_email extends Pman
function get($part='', $opts){
- $template_name = preg_replace('/\.[a-z]+$/i',
basename($opts['file']),''
);
+ $template_name = preg_replace('/\.[a-z]+$/i',
'', basename($opts['file'])
);
if (!file_exists($opts['file'])) {
$this->jerr("file does not exist : " . $opts['file']);
}
- var_dump($template_name); exit;
-
+
$c = DB_dataObject::factory('core_email');
$ret = $c->get('name',$template_name);
if($ret ) {