Skip to content

Commit fe73cf7

Browse files
committed
feat: Write config to var/config/ by default
1 parent 6796be7 commit fe73cf7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

admin/config/config.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,11 @@
3939
}
4040

4141
$php = '';
42-
$path = $registry->get('fileroot', $app) . '/config';
42+
if (defined(HORDE_CONFIG_BASE)) {
43+
$path = HORDE_CONFIG_BASE . DIRECTORY_SEPARATOR . $app;
44+
} else {
45+
$path = $registry->get('fileroot', $app) . '/config';
46+
}
4347
$configFile = $path . '/conf.php';
4448
if (is_link($configFile)) {
4549
$configFile = readlink($configFile);

0 commit comments

Comments
 (0)