]> 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>
Wed, 22 May 2013 11:56:57 +0000 (13:56 +0200)
lib/util.php

index 48c224a3034b27c4ec84c23d64df495850a8b2f5..01e2df7bfc41539567d6608b69c83746a96b2c9d 100755 (executable)
@@ -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;