Add note on multiple config files

Marius Lindvall 2020-12-14 00:02:47 +01:00
parent d26b2f9d9f
commit 285e5b08c0
1 changed files with 11 additions and 1 deletions

12
FAQ.md

@ -20,7 +20,17 @@ Yes. You should ideally only allow traffic to port 443 with HTTPS. If clients co
### Why does my shared location link point to "example.com"?
You forgot to set the `public_url` setting in the config file.
You probably forgot to set the `public_url` setting in the config file.
### I'm changing the config file, but none of my changes seem to apply - why?
Most likely, you're trying to edit a config file that is not being read by Hauk, because another copy of the config file elsewhere on your system is taking precedence. Hauk will look for the config file in these locations, read the first one it can find, and ignore everything else:
1. /etc/hauk/config.php
2. /usr/local/etc/hauk/config.php
3. **hauk_install_path**/include/config.php
If you're e.g. editing the config file in include/config.php, but another copy already exists in /etc/hauk/config.php, then *that* copy will be read because it's higher on the precedence list above, and your changes will thus not apply. Make sure that the config file only exists in one of the locations listed above.
### How can I check which version of Hauk I am running?