월요일 잘 보내셨나여.......
이유없이 피곤한 월요일ㅠㅠ
모두 힘내세용
$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( "
번호 | 제목 | 글쓴이 | 날짜 | 최근 수정일 | 조회 수 |
---|---|---|---|---|---|
23025 | 힝... 9 | 블루스크린 | 2014.12.14 | 2014.12.14 | 1790 |
23024 | 힝.. 다래끼.. 6 | MSYB | 2016.03.14 | 2016.03.14 | 453 |
23023 | 힝 7 | 이귤리체 | 2015.04.24 | 2015.04.24 | 1111 |
23022 | 힘이나요 힘이난다요ᕙ༼ຈل͜ຈ༽ᕗ 5 | 하루디13세 | 2015.04.05 | 2015.04.05 | 1537 |
23021 |
힘들땐 3D 엉덩이를 봅시다.
12 ![]() |
카이트 | 2015.03.18 | 2015.03.18 | 1428 |
23020 | 힘들다... 11 | Mette | 2015.01.31 | 2015.02.01 | 1325 |
23019 | 힘들다. 2 | 무꾸기 | 2015.08.28 | 2015.08.28 | 646 |
23018 |
힘들 때 웃는 것은 1류다
4 ![]() |
Primary | 2018.06.13 | 2018.06.14 | 298 |
23017 | 힘드네요 2 | 신현[神現] | 2015.04.24 | 2015.04.27 | 985 |
23016 | 힘네요 성인광고 알바 4 | 카이트 | 2015.03.06 | 2015.03.06 | 1314 |
23015 |
힘내라 타네다 리사 ㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋ
5 ![]() |
『ValentinE』 | 2015.04.11 | 2015.04.11 | 1810 |
23014 |
힘내라 미래의 나! 프암걸들이 널 반겨줄꺼야!!!!
1 ![]() |
카이트 | 2016.04.27 | 2016.04.27 | 475 |
23013 |
힘내 체리언늬 wwwwwwwwww
8 ![]() |
『ValentinE』 | 2014.12.15 | 2014.12.16 | 1659 |
23012 | 힉~ 베 복날도 모토해쭈떄여~ | 아이리 | 2015.03.20 | 2015.03.20 | 846 |
23011 |
힉 우마루 봐야지~
4 ![]() |
아이리 | 2015.07.19 | 2015.07.19 | 1509 |
23010 |
힉 랜서가 돌고 돈다...
2 ![]() |
리파 | 2014.12.07 | 2014.12.07 | 1666 |
23009 |
힉 됫다 이미지를 구해야되!
4 ![]() |
아이리 | 2015.03.15 | 2015.03.15 | 1267 |
23008 | 히힣 럽장판 보러왔읍니다 4 | 사츠a | 2015.09.10 | 2015.09.10 | 838 |
23007 |
히히히히히힣
38 ![]() |
Resurrection | 2014.11.23 | 2014.11.24 | 1890 |
23006 |
히히히히히히히힣 준플레이오프 직행이다히히히히히히히힣
4 ![]() |
Resurrection | 2018.10.14 | 2018.10.15 | 167 |
23005 |
히히ㅣ히히ㅣ히히ㅣ히ㅣ히히히ㅣ히히ㅣ히히ㅣ히ㅣ히히ㅣ히히ㅣ히힣
20 ![]() |
Resurrection | 2018.06.07 | 2018.06.15 | 374 |
23004 | 히히 시험 끝났습니다! 드디어 방학☆ 15 | 리파 | 2015.06.17 | 2015.06.18 | 930 |
23003 |
히히 미미쨩 힣히
6 ![]() |
아스트린 | 2014.12.07 | 2014.12.07 | 2125 |
23002 | 히트 하시는 분? 2 | 하루디13세 | 2016.05.19 | 2016.05.19 | 694 |
23001 | 히터 노답 ㅡㅡ 13 | Primary | 2014.11.26 | 2014.11.27 | 1729 |
23000 | 히카사 요코는 이쁩니다 12 | Belle | 2015.05.04 | 2015.09.08 | 1764 |
22999 | 히카사 요코 결혼 3 | 메이븐 | 2015.12.30 | 2015.12.31 | 954 |
22998 | 히카루가 지구에 있었을 무렵 시리즈 보시는분? | Q. | 2014.10.06 | 2014.10.06 | 4769 |
22997 | 히잌...나노하다...ㄷㄷ | 쿡킹 | 2014.10.22 | 2014.10.22 | 1572 |
22996 |
히잌...
9 ![]() |
리파 | 2015.11.03 | 2015.11.03 | 540 |