allow install when only oracle is available

This commit is contained in:
Jörn Friedrich Dreyer 2013-05-08 15:30:04 +02:00
parent 9fd2be0757
commit 1b68c0c0cd
1 changed files with 2 additions and 1 deletions

View File

@ -173,7 +173,8 @@ class OC_Util {
//check for database drivers
if(!(is_callable('sqlite_open') or class_exists('SQLite3'))
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.',
'hint'=>'');//TODO: sane hint
$web_server_restart= true;