projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9651084
)
Import/Core_email.php
author
Alan Knowles
<alan@roojs.com>
Mon, 9 Feb 2015 10:17:37 +0000
(18:17 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 9 Feb 2015 10:17:37 +0000
(18:17 +0800)
Import/Core_email.php
patch
|
blob
|
history
diff --git
a/Import/Core_email.php
b/Import/Core_email.php
index
9e93fbf
..
9463c86
100644
(file)
--- a/
Import/Core_email.php
+++ b/
Import/Core_email.php
@@
-37,13
+37,14
@@
class Pman_Core_Import_Core_email extends Pman
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 ) {
$this->jerr("we do not support updating the files ... - especially if the user has changed them!!");
}
+
$mailtext = file_get_contents($opts['file']);
require_once 'Mail/mimeDecode.php';