Add NEXTCLOUD_ADMIN_USER and NEXTCLOUD_ADMIN_PASSWORD

This commit is contained in:
Tilo Spannagel 2017-08-29 10:58:20 +02:00
parent 8a61625cd3
commit ea347ffbca
No known key found for this signature in database
GPG Key ID: B89F1626A58E1429
5 changed files with 25 additions and 0 deletions

View File

@ -22,3 +22,8 @@ if (getenv('SQLITE_DATABASE')) {
if (getenv('NEXTCLOUD_DATA_DIR')) {
$AUTOCONFIG["directory"] = getenv('NEXTCLOUD_DATA_DIR');
}
if (getenv('NEXTCLOUD_ADMIN_USER') && getenv('NEXTCLOUD_ADMIN_PASSWORD')) {
$AUTOCONFIG["adminlogin"] = getenv('NEXTCLOUD_ADMIN_USER');
$AUTOCONFIG["adminpass"] = getenv('NEXTCLOUD_ADMIN_PASSWORD');
}

View File

@ -22,3 +22,8 @@ if (getenv('SQLITE_DATABASE')) {
if (getenv('NEXTCLOUD_DATA_DIR')) {
$AUTOCONFIG["directory"] = getenv('NEXTCLOUD_DATA_DIR');
}
if (getenv('NEXTCLOUD_ADMIN_USER') && getenv('NEXTCLOUD_ADMIN_PASSWORD')) {
$AUTOCONFIG["adminlogin"] = getenv('NEXTCLOUD_ADMIN_USER');
$AUTOCONFIG["adminpass"] = getenv('NEXTCLOUD_ADMIN_PASSWORD');
}

View File

@ -22,3 +22,8 @@ if (getenv('SQLITE_DATABASE')) {
if (getenv('NEXTCLOUD_DATA_DIR')) {
$AUTOCONFIG["directory"] = getenv('NEXTCLOUD_DATA_DIR');
}
if (getenv('NEXTCLOUD_ADMIN_USER') && getenv('NEXTCLOUD_ADMIN_PASSWORD')) {
$AUTOCONFIG["adminlogin"] = getenv('NEXTCLOUD_ADMIN_USER');
$AUTOCONFIG["adminpass"] = getenv('NEXTCLOUD_ADMIN_PASSWORD');
}

View File

@ -22,3 +22,8 @@ if (getenv('SQLITE_DATABASE')) {
if (getenv('NEXTCLOUD_DATA_DIR')) {
$AUTOCONFIG["directory"] = getenv('NEXTCLOUD_DATA_DIR');
}
if (getenv('NEXTCLOUD_ADMIN_USER') && getenv('NEXTCLOUD_ADMIN_PASSWORD')) {
$AUTOCONFIG["adminlogin"] = getenv('NEXTCLOUD_ADMIN_USER');
$AUTOCONFIG["adminpass"] = getenv('NEXTCLOUD_ADMIN_PASSWORD');
}

View File

@ -22,3 +22,8 @@ if (getenv('SQLITE_DATABASE')) {
if (getenv('NEXTCLOUD_DATA_DIR')) {
$AUTOCONFIG["directory"] = getenv('NEXTCLOUD_DATA_DIR');
}
if (getenv('NEXTCLOUD_ADMIN_USER') && getenv('NEXTCLOUD_ADMIN_PASSWORD')) {
$AUTOCONFIG["adminlogin"] = getenv('NEXTCLOUD_ADMIN_USER');
$AUTOCONFIG["adminpass"] = getenv('NEXTCLOUD_ADMIN_PASSWORD');
}