mirror of
https://github.com/filegator/filegator.git
synced 2025-08-07 00:36:32 +02:00
Website generation with Couscous
This commit is contained in:
@@ -159,7 +159,7 @@
|
|||||||
'config' => [
|
'config' => [
|
||||||
'handler' => function () {
|
'handler' => function () {
|
||||||
$handler = new \Symfony\Component\HttpFoundation\Session\Storage\Handler\PdoSessionHandler(
|
$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);
|
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' => [
|
'config' => [
|
||||||
'handler' => function () {
|
'handler' => function () {
|
||||||
$handler = new \Symfony\Component\HttpFoundation\Session\Storage\Handler\PdoSessionHandler(
|
$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([
|
return new \Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage([
|
||||||
|
Reference in New Issue
Block a user