diff options
author | Raphaƫl Rigo <devel-mpd@syscall.eu> | 2008-11-28 10:57:39 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-11-28 10:57:39 +0100 |
commit | 5b089f85fd6cf3139768f450b8c18fe9d9211b73 (patch) | |
tree | 2cd22bb8954a9b03a7298a48beb7766c06c5ec9a /src/conf.c | |
parent | 011855d22bbf9bc8e1589fd16e386fb181724ad3 (diff) | |
download | mpd-5b089f85fd6cf3139768f450b8c18fe9d9211b73.tar.gz mpd-5b089f85fd6cf3139768f450b8c18fe9d9211b73.tar.xz mpd-5b089f85fd6cf3139768f450b8c18fe9d9211b73.zip |
update: added options which control symlink behaviour
The configuration options "follow_outside_symlinks" and
"follow_inside_symlinks" let the user control whether MPD should
follow symbolic links in the music directory.
[mk: converted variables to "bool"; moved configuration to
update_global_init()]
Diffstat (limited to '')
-rw-r--r-- | src/conf.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/conf.c b/src/conf.c index 885da1f29..cdcb917f6 100644 --- a/src/conf.c +++ b/src/conf.c @@ -145,6 +145,8 @@ void initConf(void) /* registerConfigParam(name, repeatable, block); */ registerConfigParam(CONF_MUSIC_DIR, 0, 0); registerConfigParam(CONF_PLAYLIST_DIR, 0, 0); + registerConfigParam(CONF_FOLLOW_INSIDE_SYMLINKS, 0, 0); + registerConfigParam(CONF_FOLLOW_OUTSIDE_SYMLINKS, 0, 0); registerConfigParam(CONF_DB_FILE, 0, 0); registerConfigParam(CONF_LOG_FILE, 0, 0); registerConfigParam(CONF_ERROR_FILE, 0, 0); |