Add NEXTCLOUD_ADMIN_USER and NEXTCLOUD_ADMIN_PASSWORD
This commit is contained in:
parent
8a61625cd3
commit
ea347ffbca
@ -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');
|
||||
}
|
||||
|
@ -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');
|
||||
}
|
||||
|
@ -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');
|
||||
}
|
||||
|
@ -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');
|
||||
}
|
||||
|
@ -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');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user