Skip to content

Commit e8f17c1

Browse files
author
Maxime Rault
committed
Change "name" setting to "driverName" because of a conflict with standard Laravel setting not documented
1 parent 0e83f37 commit e8f17c1

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Simply add this code at the end of your ``app/config/database.php`` file:
5858

5959
'ibmi' => [
6060
'driver' => 'odbc' / 'ibm',
61-
'name' => '{IBM i Access ODBC Driver}' / '{iSeries Access ODBC Driver}',
61+
'driverName' => '{IBM i Access ODBC Driver}' / '{iSeries Access ODBC Driver}',
6262
// General settings
6363
'host' => 'server',
6464
'username' => '',

src/Connectors/ODBCConnector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ protected function getDsn(array $config) {
3030

3131
$dsn = "odbc:"
3232
// General settings
33-
. "DRIVER=$name;"
33+
. "DRIVER=$driverName;"
3434
. "SYSTEM=$host;"
3535
. "UserID=$username;"
3636
. "Password=$password;"

src/config/config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262

6363
'ibmi' => [
6464
'driver' => 'odbc' / 'ibm',
65-
'name' => '{IBM i Access ODBC Driver}' / '{iSeries Access ODBC Driver}',
65+
'driverName' => '{IBM i Access ODBC Driver}' / '{iSeries Access ODBC Driver}',
6666
// General settings
6767
'host' => 'server',
6868
'username' => '',

0 commit comments

Comments
 (0)