UpdateBjsTemplates.php
authorleon <leon@roojs.com>
Wed, 2 Aug 2023 04:25:31 +0000 (12:25 +0800)
committerleon <leon@roojs.com>
Wed, 2 Aug 2023 04:25:31 +0000 (12:25 +0800)
UpdateBjsTemplates.php

index 704cad9..41a20c6 100644 (file)
@@ -174,11 +174,11 @@ class Pman_Admin_UpdateBjsTemplates extends Pman
 
                 (empty($o)) ? $template->insert() : $template->update($o);
                 
-                var_dumP('scanPmanBJS');
-                exit;
                 if (strtotime($updated) >= filemtime('Pman' . '/' . $m . '/' . $fn)) {
                     continue;
                 }
+                var_dumP('scanPmanBJS');
+                exit;
                 
                 $ids[] = $template->id;
                 $data = json_decode(file_get_contents('Pman' . '/' . $m . '/' . $fn), true);