Browse Source

remove extra settings

main
ghost 11 months ago
parent
commit
e828145c37
  1. 3
      example/config.json
  2. 3
      src/server.php

3
example/config.json

@ -13,8 +13,7 @@
{ {
"host":"127.0.0.1", "host":"127.0.0.1",
"port":11211, "port":11211,
"timeout":3600, "timeout":3600
"namespace":""
} }
}, },
"dokuwiki": "dokuwiki":

3
src/server.php

@ -64,7 +64,8 @@ $config = json_decode(
$memory = new \Yggverse\Cache\Memory( $memory = new \Yggverse\Cache\Memory(
$config->memcached->server->host, $config->memcached->server->host,
$config->memcached->server->port, $config->memcached->server->port,
$config->memcached->server->namespace, $config->memcached->server->host.
$config->memcached->server->port,
$config->memcached->server->timeout $config->memcached->server->timeout
); );

Loading…
Cancel
Save