-
Notifications
You must be signed in to change notification settings - Fork 53
/
memcached.php
26 lines (26 loc) · 2.1 KB
/
memcached.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?php
try {
if ($CONFIG['DEV']) {
if (PHP_OS === "WINNT") {
class MemcacheWrap extends Memcache {
public function set($key, $val, $expire = 0) {
return parent::set($key, $val, 0, $expire);
}
}
$Memcached = new MemcacheWrap();
$Memcached->connect($CONFIG["MEMCACHED"]["SERVER"], $CONFIG["MEMCACHED"]["PORT"]);
} else {
$Memcached = new Memcached();
$Memcached->addServer($CONFIG["MEMCACHED"]["SERVER"], $CONFIG["MEMCACHED"]["PORT"]);
}
} else {
$Memcached = new Memcached();
$Memcached->addServer($CONFIG["MEMCACHED"]["SERVER"], $CONFIG["MEMCACHED"]["PORT"]);
}
} catch (Exception $e) {
echo base64_decode("c82ezKDNjcyvzLPNk8yZaM2AzY/MncyfzK3MusytzZnMr8y6ac2dzKfMtM2P0onNiMyjzJzMqcyvzLHMn82UzYnMpsyXzLzMncyszJ3MsMyzzKrMlnTNos2BzZ3Nn8ywzY3NmsyszKzMoMypzYXMqcyuzKbNls2UzLvMrc2JzKTMrsyfJ82fzY/NmsyszZTMmcyrzK3Mq8ytzLrMpnPMtc2hzK3MvMyvzJ0gzKfMt82PzLHMpcyYzKDNls2NzKDNhcyWzKBmzZ3Mm8y4zJ7MsMygzLHMn82TzKnNic2IdcybzJvNh8yjzJ7MpsyYzZPMu2PMuM2fzKLNiM2VzJ7Mr8yxzZTMnsyrzKTMsMywzKnNiMyya8ynzY/NocyhzZPMpMyrzKzMpsywzZXNk82TzZrMssyxzKnNms2IzZPMpGXNoM2ezY7MucykzLPMmMy7zJfMu8yqzKvNmc2aZM2ezY/Mp82YzLHMqsyYzLvNjcydIM2PzKDMqc2JzJbNmcyYzKnMo8y6zKrNiMyXzZnMscyWzY3MqnXNgc2dzaDMu8ygzY7Mu82VzLrNk8yezK7Mn8ykzJnMrc2UzK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