Commit 707e9181 authored by chenchuanwen's avatar chenchuanwen

bridgeReload

parent 53a29c8b
<?php
define("APPLICATION_PATH", realpath(dirname(__FILE__) . '/../../../')); //指向public的上一级
require APPLICATION_PATH . '/scripts/crontab/baseCli.php';
require APPLICATION_PATH . '/scripts/crontab/common.php';
//require APPLICATION_PATH . '/scripts/crontab/baseCli.php';
error_reporting(E_ALL ^ E_NOTICE);
class runRedisPush
{
......@@ -43,6 +42,7 @@ class runRedisPush
}
}
public function callback($instance,$channelName,$message){
require APPLICATION_PATH . '/scripts/crontab/common.php';
try{
$message=json_decode($message,true);
$callInstance=$message['className']::getInstance(\Our\DbNameConst::masterDBConnectName);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment