mirror of
https://github.com/MoePlayer/APlayer-Typecho.git
synced 2025-02-19 20:50:23 +08:00
[1.2.4] 修复 PHP <=5.3 下出现的 500 error
This commit is contained in:
parent
00d15bfc9e
commit
801f8c4057
@ -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);
|
||||
|
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user