]> source.dussan.org Git - nextcloud-server.git/commitdiff
allow install when only oracle is available
authorJörn Friedrich Dreyer <jfd@butonic.de>
Wed, 8 May 2013 13:30:04 +0000 (15:30 +0200)
committerJörn Friedrich Dreyer <jfd@butonic.de>
Fri, 14 Jun 2013 11:08:05 +0000 (13:08 +0200)
lib/util.php

index 7f5f30aa61958113e51b23d89470c0622d1f9d08..a022a89c1d4204f94422bb02209cbf3dbd6b457e 100755 (executable)
@@ -172,7 +172,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;