mirror of
https://github.com/filegator/filegator.git
synced 2025-08-29 05:40:04 +02:00
Website generation with Couscous
This commit is contained in:
@@ -110,7 +110,7 @@
|
||||
`sess_time` int(10) unsigned NOT NULL,
|
||||
PRIMARY KEY (`sess_id`)
|
||||
) CHARSET=utf8 COLLATE=utf8_bin;</code></pre>
|
||||
<p>Then, open <code>configuration.php</code> and update Auth handler under section <code>services</code> to something like this:</p>
|
||||
<p>Then, open <code>configuration.php</code> and update Session handler to:</p>
|
||||
<pre><code> 'Filegator\Services\Session\SessionStorageInterface' => [
|
||||
'handler' => '\Filegator\Services\Session\Adapters\SessionStorage',
|
||||
'config' => [
|
||||
@@ -127,9 +127,9 @@
|
||||
],
|
||||
],
|
||||
</code></pre>
|
||||
<p>Don't forget to enter correct mysql username, password, and database.</p>
|
||||
<p>Don't forget to enter correct database details.</p>
|
||||
<h2 id="tweaking-session-options">Tweaking session options</h2>
|
||||
<p>The underying Symfony's session <a href="https://github.com/symfony/symfony/blob/4.4/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php">component</a> accepts array of options.
|
||||
<p>The underying <a href="https://github.com/symfony/symfony/blob/4.4/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php">session component</a> accepts array of options.
|
||||
For example you can pass <code>cookie_lifetime</code> parameter to extend default session lifetime:</p>
|
||||
<pre><code> 'Filegator\Services\Session\SessionStorageInterface' => [
|
||||
'handler' => '\Filegator\Services\Session\Adapters\SessionStorage',
|
||||
|
Reference in New Issue
Block a user