mirror of
https://github.com/nextcloud/docker.git
synced 2025-04-25 12:50:54 +02:00
Avoid empty table prefix
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
This commit is contained in:
parent
df048873ab
commit
a87f914de3
20 changed files with 40 additions and 40 deletions
|
@ -23,7 +23,9 @@ if (getenv('SQLITE_DATABASE')) {
|
|||
}
|
||||
|
||||
if ($autoconfig_enabled) {
|
||||
$AUTOCONFIG["dbtableprefix"] = getenv('NEXTCLOUD_TABLE_PREFIX') ?: "";
|
||||
if (getenv('NEXTCLOUD_TABLE_PREFIX')) {
|
||||
$AUTOCONFIG["dbtableprefix"] = getenv('NEXTCLOUD_TABLE_PREFIX');
|
||||
}
|
||||
|
||||
$AUTOCONFIG["directory"] = getenv('NEXTCLOUD_DATA_DIR') ?: "/var/www/html/data";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue