diff --git a/Action.php b/Action.php index 5554690..163d80c 100644 --- a/Action.php +++ b/Action.php @@ -213,7 +213,7 @@ class Meting_Action extends Typecho_Widget implements Widget_Interface_Do { return $db->query($insert); } - private function cacheRead($k,$t=60*60){ + private function cacheRead($k,$t=3600){ $db=Typecho_Db::get(); $query=$db->select('value','last')->from('table.metingv1')->where('id=?',md5($k)); $result=$db->fetchRow($query); diff --git a/Plugin.php b/Plugin.php index e4262b0..81d3777 100644 --- a/Plugin.php +++ b/Plugin.php @@ -6,13 +6,13 @@ if(!defined('__TYPECHO_ROOT_DIR__'))exit; * * @package Meting * @author METO - * @version 1.2.3 + * @version 1.2.4 * @dependence 14.10.10-* * @link https://github.com/metowolf/Meting-Typecho-Plugin * */ -define('METING_VERSION','1.2.3'); +define('METING_VERSION','1.2.4'); class Meting_Plugin extends Typecho_Widget implements Typecho_Plugin_Interface {