Skip to content
Snippets Groups Projects
Commit 1b68c0c0 authored by Jörn Friedrich Dreyer's avatar Jörn Friedrich Dreyer
Browse files

allow install when only oracle is available

parent 9fd2be07
No related branches found
No related tags found
No related merge requests found
...@@ -173,7 +173,8 @@ class OC_Util { ...@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment