allow install when only oracle is available
This commit is contained in:
parent
9fd2be0757
commit
1b68c0c0cd
|
@ -173,7 +173,8 @@ class OC_Util {
|
||||||
//check for database drivers
|
//check for database drivers
|
||||||
if(!(is_callable('sqlite_open') or class_exists('SQLite3'))
|
if(!(is_callable('sqlite_open') or class_exists('SQLite3'))
|
||||||
and !is_callable('mysql_connect')
|
and !is_callable('mysql_connect')
|
||||||
and !is_callable('pg_connect')) {
|
and !is_callable('pg_connect')
|
||||||
|
and !is_callable('oci_connect')) {
|
||||||
$errors[]=array('error'=>'No database drivers (sqlite, mysql, or postgresql) installed.',
|
$errors[]=array('error'=>'No database drivers (sqlite, mysql, or postgresql) installed.',
|
||||||
'hint'=>'');//TODO: sane hint
|
'hint'=>'');//TODO: sane hint
|
||||||
$web_server_restart= true;
|
$web_server_restart= true;
|
||||||
|
|
Loading…
Reference in New Issue