Browse Source

add memcached/memory connection

main
ghost 1 year ago
parent
commit
26d2a06b9a
  1. 12
      src/config/bootstrap.php

12
src/config/bootstrap.php

@ -66,3 +66,15 @@ try { @@ -66,3 +66,15 @@ try {
exit;
}
// Connect memcached
try {
$memory = new Yggverse\Cache\Memory(MEMCACHED_HOST, MEMCACHED_PORT, MEMCACHED_NAMESPACE, MEMCACHED_TIMEOUT + time());
} catch(Exception $e) {
var_dump($e);
exit;
}
Loading…
Cancel
Save