More small fixes
This commit is contained in:
parent
aeacfeebf8
commit
a1a146fad4
|
@ -14,7 +14,7 @@ $lines = explode("\n", shell_exec("odbcinst -j"));
|
|||
$odbcinst_ini = explode(" ", $lines[1])[1];
|
||||
|
||||
//back up the odbcinst.ini file
|
||||
shell_exec("cp $odbcinst_ini $odbcinst_ini.bak")
|
||||
shell_exec("cp $odbcinst_ini $odbcinst_ini.bak");
|
||||
|
||||
//enable pooling by modifying the odbcinst.ini file
|
||||
$current = file_get_contents($odbcinst_ini);
|
||||
|
|
|
@ -14,7 +14,7 @@ $lines = explode("\n", shell_exec("odbcinst -j"));
|
|||
$odbcinst_ini = explode(" ", $lines[1])[1];
|
||||
|
||||
//back up the odbcinst.ini file
|
||||
shell_exec("cp $odbcinst_ini $odbcinst_ini.bak")
|
||||
shell_exec("cp $odbcinst_ini $odbcinst_ini.bak");
|
||||
|
||||
//enable pooling by modifying the odbcinst.ini file
|
||||
$current = file_get_contents($odbcinst_ini);
|
||||
|
|
|
@ -8,6 +8,7 @@ variety of connection parameters.
|
|||
require 'MsSetup.inc';
|
||||
|
||||
function connect($options=array()) {
|
||||
require 'MsSetup.inc';
|
||||
if (!isset($options['UID']) && !isset($options['uid'])) {
|
||||
$options['uid'] = $uid;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue