Changed DataObjects/Core_templatestr.phpUpdateDatabase/MysqlLinks.php
authorAlan Knowles <alan@roojs.com>
Fri, 26 Feb 2021 03:29:11 +0000 (11:29 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 26 Feb 2021 03:29:11 +0000 (11:29 +0800)
DataObjects/Core_templatestr.php
UpdateDatabase/MysqlLinks.php

index 88a9785..9b4139f 100644 (file)
@@ -616,7 +616,7 @@ class Pman_Core_DataObjects_Core_templatestr extends DB_DataObject
         //var_dump($flexy->compiledTemplate);
         $utime = file_exists($flexy->compiledTemplate) ?  filemtime( $flexy->compiledTemplate) : 0;
         
-        
+        var_dump($utime);
         static $cache = array(); // cache of templates..
         
         $ff = HTML_FlexyFramework::get();
index 83b9634..0bdd508 100644 (file)
@@ -167,7 +167,7 @@ class Pman_Core_UpdateDatabase_MysqlLinks {
         }
         
         $q = DB_DAtaObject::factory('core_enum');
-        $q->query("ALTER TABLE $tbl COMMENT = '{$q->escape($fkstr)}'");
+        $q->query("ALTER TABLE `$tbl` COMMENT = '{$q->escape($fkstr)}'");