Skip to content

Commit 28e281f

Browse files
committed
config
1 parent b3f3535 commit 28e281f

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414
"php": ">=7.0.0"
1515
},
1616
"autoload" : {
17-
"classmap": [
18-
"src/Session.php"
19-
],
2017
"psr-4" : {
2118
"Session\\" : "src/Session"
2219
}
20+
},
21+
"require-dev": {
22+
"ghostff/session": "^1.0"
2323
}
2424
}

src/Session/config.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
*/
3939

4040
return [
41-
'driver' => 'pdo', # Name of session driver to use: [file|pdo|cookie|redis|memcached]
41+
'driver' => 'file', # Name of session driver to use: [file|pdo|cookie|redis|memcached]
4242
'name' => '_Bittr_SESSID', # session name
4343
'cache_limiter' => 'none', # http://php.net/manual/en/function.session-cache-limiter.php
4444

@@ -67,7 +67,7 @@
6767

6868
#[pdo driver] -- comment out if not using.
6969
'pdo' => [
70-
'driver' => 'mysqli', # Database driver
70+
'driver' => 'mysql', # Database driver for PDO dns eg(mysql:host=...;dbname=...)
7171
'host' => '127.0.0.1', # Database host
7272
'db_name' => 'session', # Database name
7373
#'db_table' => 'session', # Database table

0 commit comments

Comments
 (0)