Finished GetConfigDir() move to thePrefsamule-svn-r10900
commit29a473423ca8b15bb2fb84f14d44330463741992
authorupstream svn <svn@amule.org>
Mon, 25 Jan 2016 21:10:55 +0000 (25 21:10 +0000)
committerDévai Tamás <gonosztopi@amule.org>
Wed, 24 Feb 2016 11:36:10 +0000 (24 11:36 +0000)
tree8d40a9738983ce4c532adf3bc51f56ec91942d8a
parentf231cd6912c734142e397db10590cd63a025144a
Finished GetConfigDir() move to thePrefs

All instances that needlessly called GetConfigDir() in OtherFunctions have been
replaced with thePrefs calls. The implementation in OtherFunctions no longer
caches the config dir, thePrefs does it already. External applications that used
to rely on this function now cache the config dir for themselves. Not caching
the result of the config dir search has a side effect of allowing two config
files living in different directories, for example when using the --create-config-from
command-line option of amulecmd/amuleweb.

Also fixed amulegui looking for the wrong config file when determining the config
directory location.
.svn-revision
src/ExternalConnector.cpp
src/ExternalConnector.h
src/OtherFunctions.cpp
src/OtherFunctions.h
src/Preferences.cpp
src/amuleAppCommon.cpp
src/amuleDlg.cpp
src/libs/ec/cpp/ECFileConfig.h
src/webserver/src/WebInterface.cpp