diff options
author | Damjan Georgievski <gdamjan@gmail.com> | 2016-07-29 17:47:39 +0200 |
---|---|---|
committer | Damjan Georgievski <gdamjan@gmail.com> | 2016-07-29 17:49:14 +0200 |
commit | 982bdb182329602e1776d704a2662bd2ab09bf98 (patch) | |
tree | e5b642077e3bf473a2af18ad0334d700e85d2c82 /.jshintrc | |
parent | 696ff90cbee2489bc9befdcea8332f6390deebbc (diff) | |
download | nextcloud-server-982bdb182329602e1776d704a2662bd2ab09bf98.tar.gz nextcloud-server-982bdb182329602e1776d704a2662bd2ab09bf98.zip |
introduce NEXTCLOUD_CONFIG_DIR env variable (see #300)
nextcloud by default uses the `/config/` directory in the source/application tree for its config file(s).
with this commit that directory can be overridden by the `NEXTCLOUD_CONFIG_DIR` environment variable.
in uwsgi, you would use the option `--env "NEXTCLOUD_CONFIG_DIR=/tmp/nx-config/"`
in apache `SetENV …`
and the cli command can be run with: `NEXTCLOUD_CONFIG_DIR=/tmp/nx-config ./occ` (or just use `export` once in the
shell).
NEXTCLOUD_CONFIG_DIR can be supplied with or without the trailing slash (`/`), but in all cases `$configDir` will have
it automatically added if needed.
The other changes are several occurrences of `OC::$SERVERROOT . '/config'` to `OC::$configDir`.
Diffstat (limited to '.jshintrc')
0 files changed, 0 insertions, 0 deletions