Yoyoyo
$MCache = new Memcached();
$Memcache = &$MCache;
$MCache->addSErver('/var/run/memcached.sock', 0);
$Re = new Redis();
$Re->connect('/var/run/redis/redis.sock');
?>
$Memcache = new Memcached();
$Memcache->addServer('/var/run/memcached.sock', 0);
$Redis = new Redis();
$Redis->connect('/var/run/redis/redis.sock');
class Push {
private $channel;
function __construct() {
global $Redis;
$this->channel = 'ANIZONE_GLOBAL';
$this->redis = &$Redis;
}
function channel($channel) {
$this->channel = $channel;
}
function trigger($event, $data, $channel = null) {
if($channel == null) $channel = $this->channel;
$json['channel'] = $channel;
$json['data']['event'] = $event;
$json['data']['data'] = $data;
$json = json_encode($json);
$this->redis->publish('juggernaut', $json);
}
}
class PushWing {
function queue($phone, $subject, $contents, $url, $timestamp = null) {
if($timestamp === null) $timestamp = time();
$odb = &oDB::getInstance();
$contents = str_replace( "
", '\n', $contents );
$contents = str_replace( "
", '\n', $contents );
$contents = str_replace( "
", '\n', $contents );
$contents = str_replace( "
Yoyoyo
번호 | 제목 | 글쓴이 | 최근 수정일 | 날짜 | 조회 수 | 추천 수 |
---|---|---|---|---|---|---|
10937 |
아아 중앙재해대책본부입니다
![]() |
Resurrection | 18:57:28 | 18:57:28 | 0 | 0 |
10936 | 와 여기 살아있다니 1 | 오다ㅋ | 2020.12.24 | 2020.11.18 | 115 | 0 |
» |
에헤떼난다yo
![]() |
리파 | 2020.11.10 | 2020.11.10 | 91 | 0 |
10934 | 오랜만에 왔는데 dev 어디갔어요 2 | BC둘기 | 2020.10.26 | 2020.08.23 | 223 | 0 |
10933 | 오랜만에 접속했습니당 1 | LN타치바나 | 2020.10.23 | 2020.10.20 | 99 | 0 |
10932 | 애니존에 글을 쓰지 못하는 이유 6 | Resurrection | 2020.10.19 | 2020.10.09 | 186 | 0 |
10931 |
11/25 하루히 신작 발매
4 ![]() |
왕따쿨엑스 | 2020.10.04 | 2020.08.31 | 197 | 0 |
10930 | 세상에 1 | 신현[神現] | 2020.10.04 | 2020.10.03 | 139 | 0 |
10929 | 결국 LG 노트북으로 샀습니다 1 | Resurrection | 2020.09.20 | 2020.09.15 | 158 | 0 |
10928 |
컴잘알님들 도와주세요 흐규흐규
5 ![]() |
Resurrection | 2020.09.15 | 2020.09.10 | 189 | 0 |
10927 | 오 개쩜 3 | 리파 | 2020.09.15 | 2020.09.14 | 145 | 0 |
10926 | 코로나!!! 올해 덕질은 이대로 끝이겠죠.. ㅠ | 1+1=2 | 2020.08.18 | 2020.08.18 | 1549 | 0 |
10925 |
길 가다가 발견한 주유소.jpg
![]() |
Resurrection | 2020.08.18 | 2020.08.18 | 182 | 0 |
10924 | dev 어디갓죠 1 | Belle | 2020.08.14 | 2020.08.13 | 227 | 0 |
10923 |
드디어 가챠논문이 출판됐습니다
6 ![]() |
Resurrection | 2020.08.13 | 2020.08.12 | 253 | 0 |
10922 | 10년만에 근황 2 | 히코 | 2020.08.12 | 2020.08.12 | 255 | 0 |
10921 | 부-활 4 | 거냥거냥 | 2020.08.12 | 2020.08.09 | 264 | 0 |
10920 | 응애 나 애기 부활 | Resurrection | 2020.08.10 | 2020.08.10 | 168 | 0 |
10919 | 살아났다! 저도 근황? 2 | 1+1=2 | 2020.06.10 | 2020.06.10 | 264 | 0 |
10918 | 저도 근황 | Resurrection | 2020.06.02 | 2020.06.02 | 181 | 0 |
10917 | 근황 | 롤빵 | 2020.06.01 | 2020.06.01 | 172 | 0 |
10916 | 생존신고 | MSYB | 2020.04.20 | 2020.04.20 | 225 | 0 |
10915 | 여기 아직도 있네요? 1 | era-n | 2020.04.19 | 2020.04.07 | 416 | 0 |
10914 | ?? 신입이 있네.... | 리파 | 2020.03.09 | 2020.03.09 | 315 | 0 |
10913 | 우한폐럼이 어느새 1천명에 근접했네요 1 | 하루디4 | 2020.03.01 | 2020.02.25 | 394 | 0 |
10912 | 코로나 진짜 엄청나네요... | 수동동 | 2020.02.28 | 2020.02.28 | 218 | 0 |
10911 | 부산 의료원도 코로나 땜에 폐쇄했네요. | 기영준 | 2020.02.17 | 2020.02.17 | 216 | 0 |
10910 | 방금뉴스속도 떴네요 코로나 2명 추가확진자 생겼다네요 | 수동동 | 2020.01.30 | 2020.01.30 | 3417 | 0 |
10909 | 얼마전에 블랙머니 봤는데 | 수동동 | 2020.01.15 | 2020.01.15 | 494 | 0 |
10908 |
아 오랜만에 들어 왔는데 안타까워서 글 하나 올리고 감
1 ![]() |
W.준쨔응 | 2020.01.12 | 2020.01.12 | 451 | 0 |