Website generation with Couscous

This commit is contained in:
Milos Stojanovic
2020-03-15 11:03:48 +01:00
parent 87c275f7a2
commit f9bacdbcb2

View File

@@ -159,7 +159,7 @@
'config' => [
'handler' => function () {
$handler = new \Symfony\Component\HttpFoundation\Session\Storage\Handler\PdoSessionHandler(
'mysql://root:password@localhost:3360/filegator'
'mysql://root:password@localhost:3306/filegator'
);
return new \Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage([], $handler);
@@ -189,7 +189,7 @@ For example you can pass <code>cookie_lifetime</code> parameter to extend defaul
'config' =&gt; [
'handler' =&gt; function () {
$handler = new \Symfony\Component\HttpFoundation\Session\Storage\Handler\PdoSessionHandler(
'mysql://root:password@localhost:3360/filegator'
'mysql://root:password@localhost:3306/filegator'
);
return new \Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage([