mirror of
https://github.com/filegator/filegator.git
synced 2025-08-06 15:16:30 +02:00
Doc fix port for mysql
This commit is contained in:
@@ -43,7 +43,7 @@ Then, open `configuration.php` and update Session handler to:
|
|||||||
'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);
|
||||||
@@ -82,7 +82,7 @@ For example you can pass `cookie_lifetime` parameter to extend default session l
|
|||||||
'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