Skip to content

autoconfig should hide setup GUI #11664

@PVince81

Description

@PVince81

Steps

  1. Create an autoconfig.php file inside config/config.php, for example with this content:
<?php
$AUTOCONFIG = array (
  'directory' => '/srv/www/htdocs/owncloud/data',
  'dbtype' => 'mysql',
  'dbname' => 'owncloud',
  'dbhost' => 'localhost',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'owncloud',
  'dbpass' => 'owncloudpw',
  'overwritewebroot' => '/owncloud',
);
  1. Run the setup
  2. Click "Finish setup"

Expected result

Setup GUI only contains admin user/password without any database choices.

Actual result

Message about "SQLite will be used by default" is still visible.

Versions

ownCloud 7 stable7

Note: on stable6 this works properly so this is a regression.

@craigpg @MTRichards @karlitschek

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions