allow install when only oracle is available

remotes/origin/stable6
Jörn Friedrich Dreyer 12 years ago
parent 9fd2be0757
commit 1b68c0c0cd
  1. 3
      lib/util.php

@ -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;

Loading…
Cancel
Save