마침내 길고도 길었던 PRP 미션과의 싸움이 끝이 났네요... ㅜ
이제 나도 1700대 프로듀서당~! 야, 신난다~!!
$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( "
마침내 길고도 길었던 PRP 미션과의 싸움이 끝이 났네요... ㅜ
이제 나도 1700대 프로듀서당~! 야, 신난다~!!
번호 | 제목 | 글쓴이 | 날짜 | 최근 수정일 | 조회 수 |
---|---|---|---|---|---|
» |
[데레] 고통 해방
2 ![]() |
막장학원H×H | 2019.01.18 | 2019.01.18 | 97 |
6679 | [듀링]공아단덱 어떻게 만드나요? 4 | 라온 | 2019.01.02 | 2019.01.17 | 246 |
6678 |
[데레스테] 4차 카에데 데려왔읍니다
2 ![]() |
BC둘기 | 2019.01.13 | 2019.01.13 | 186 |
6677 |
[데레스테] 4년차 뉴비,,,,오토덱 한 번 만들어봤읍니다,,,^^;;;,,,,,,
5 ![]() |
BC둘기 | 2019.01.09 | 2019.01.11 | 1945 |
6676 | [데레스테] 첫 금트 땄습니다 1 | By.Xien | 2019.01.09 | 2019.01.09 | 98 |
6675 |
[한도리] 이벤트 자체 종료 ///
6 ![]() |
1+1=2 | 2019.01.05 | 2019.01.07 | 153 |
6674 |
근황
2 ![]() |
리파 | 2019.01.01 | 2019.01.04 | 138 |
6673 |
[한도리] 이벤트 탑10.. 당신들은 도대체...
4 ![]() |
1+1=2 | 2018.12.31 | 2019.01.02 | 142 |
6672 |
로스트아크 조아
![]() |
리파 | 2018.12.07 | 2018.12.07 | 104 |
6671 |
[데레] 140만 돌파
8 ![]() |
막장학원H×H | 2018.12.06 | 2018.12.06 | 144 |
6670 |
[데레] 월한정으로 벽 하나 채웠습니당
2 ![]() |
막장학원H×H | 2018.12.01 | 2018.12.01 | 127 |
6669 | 지스타 넥슨 쿠폰북 뿌려욧! 69 | 리파 | 2015.12.26 | 2018.11.30 | 1230 |
6668 |
[듀링] 그지같은 유사도박판 KC컵 결과
2 ![]() |
막장학원H×H | 2018.11.29 | 2018.11.29 | 90 |
6667 | 포켓몬 렛츠고 + 스위치 질렀습니다 8 | Kyonpachi | 2018.11.24 | 2018.11.25 | 165 |
6666 | 커엽다! 5 | 도노노 | 2018.11.23 | 2018.11.25 | 204 |
6665 |
[리겜종합] 여러가지 똥꼬쇼들
![]() |
막장학원H×H | 2018.11.22 | 2018.11.22 | 70 |
6664 |
[투덱] 오랜만에 고인물겜
![]() |
막장학원H×H | 2018.11.20 | 2018.11.20 | 73 |
6663 |
[데레] 개 운 해 졌 다
4 ![]() |
막장학원H×H | 2018.11.13 | 2018.11.13 | 111 |
6662 |
[듀링] 도합 24승 듞얼킹 ㅋㅋㅋㅋ
2 ![]() |
막장학원H×H | 2018.11.12 | 2018.11.12 | 112 |
6661 |
[데레] 이제 패션곡만 남았다...
2 ![]() |
막장학원H×H | 2018.11.09 | 2018.11.09 | 107 |