Skip to content

Commit

Permalink
Change "name" setting to "driverName" because of a conflict with stan…
Browse files Browse the repository at this point in the history
…dard Laravel setting not documented
  • Loading branch information
Maxime Rault committed May 10, 2016
1 parent 0e83f37 commit e8f17c1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Simply add this code at the end of your ``app/config/database.php`` file:

'ibmi' => [
'driver' => 'odbc' / 'ibm',
'name' => '{IBM i Access ODBC Driver}' / '{iSeries Access ODBC Driver}',
'driverName' => '{IBM i Access ODBC Driver}' / '{iSeries Access ODBC Driver}',
// General settings
'host' => 'server',
'username' => '',
Expand Down
2 changes: 1 addition & 1 deletion src/Connectors/ODBCConnector.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ protected function getDsn(array $config) {

$dsn = "odbc:"
// General settings
. "DRIVER=$name;"
. "DRIVER=$driverName;"
. "SYSTEM=$host;"
. "UserID=$username;"
. "Password=$password;"
Expand Down
2 changes: 1 addition & 1 deletion src/config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@

'ibmi' => [
'driver' => 'odbc' / 'ibm',
'name' => '{IBM i Access ODBC Driver}' / '{iSeries Access ODBC Driver}',
'driverName' => '{IBM i Access ODBC Driver}' / '{iSeries Access ODBC Driver}',
// General settings
'host' => 'server',
'username' => '',
Expand Down

0 comments on commit e8f17c1

Please sign in to comment.