UpdateDatabase.php
authorAlan Knowles <alan@roojs.com>
Fri, 3 Jun 2016 06:45:02 +0000 (14:45 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 3 Jun 2016 06:45:02 +0000 (14:45 +0800)
UpdateDatabase.php

index 3eccaf8..0cc2497 100644 (file)
@@ -764,9 +764,11 @@ class Pman_Core_UpdateDatabase extends Pman
             
     //        $basedir = $this->bootLoader->rootDir . $mail_template_dir;
             
-            $opts = array();
+            $opts = array(
+                'update' => 1,
+                'file' = $mail_template_dir. $name .'.html';
+            );
             
-            $opts['file'] = $mail_template_dir. $name .'.html';
             if (!empty($data['master'])) {
                 $opts['master'] = $mail_template_dir . $master .'.html';
             }