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 @@ @@ -13,8 +13,7 @@
{
"host":"127.0.0.1",
"port":11211,
"timeout":3600,
"namespace":""
"timeout":3600
}
},
"dokuwiki":

3
src/server.php

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

Loading…
Cancel
Save