Change "name" setting to "driverName" because of a conflict with standard Laravel setting not documented
This commit is contained in:
parent
0e83f3783b
commit
e8f17c13a7
@ -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' => '',
|
||||
|
@ -30,7 +30,7 @@ class ODBCConnector extends Connector implements ConnectorInterface
|
||||
|
||||
$dsn = "odbc:"
|
||||
// General settings
|
||||
. "DRIVER=$name;"
|
||||
. "DRIVER=$driverName;"
|
||||
. "SYSTEM=$host;"
|
||||
. "UserID=$username;"
|
||||
. "Password=$password;"
|
||||
|
@ -62,7 +62,7 @@ return [
|
||||
|
||||
'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' => '',
|
||||
|
Loading…
Reference in New Issue
Block a user