diff --git a/webapp/controller/KefuController.class.php b/webapp/controller/KefuController.class.php index cce003f..b074c23 100644 --- a/webapp/controller/KefuController.class.php +++ b/webapp/controller/KefuController.class.php @@ -169,6 +169,7 @@ class KefuController { public function notifyAllUser() { + set_time_limit(1800); $media_conf = array(); $dbconfs = require('../config/kefu.mysql.cluster.php');; foreach($dbconfs as $dbconf) { @@ -242,7 +243,7 @@ class KefuController { if (isset($share_conf[$row['gameid']])) { $game_conf = $share_conf[$row['gameid']]; if (!isset($media_conf[$row['gameid']])) { - $media_conf['gameid'] = $this->getMediaId($row['gameid']); + $media_conf[$row['gameid']] = $this->getMediaId($row['gameid']); } $game_conf['thumb_media_id'] = $media_conf[$row['gameid']]; $this->sendKefuMsg($row['accountid'],