1
0
Fork 0

set /sim/fg-home in analogy to /sim/fg-root. This is useful for various

scripts that load/write user specific data that shouldn't go to PWD, and
can't go to $FG_ROOT (due to permissions and clean separation of 'official'
data and local modifications)
This commit is contained in:
mfranz 2006-02-13 16:49:18 +00:00
parent 2385e5d387
commit 3b047b1831

View file

@ -607,6 +607,7 @@ bool fgInitConfig ( int argc, char **argv ) {
SGPath config( homedir ); SGPath config( homedir );
config.append( ".fgfs" ); config.append( ".fgfs" );
#endif #endif
fgSetString("/sim/fg-home", config.c_str());
config.append( "autosave.xml" ); config.append( "autosave.xml" );
SG_LOG(SG_INPUT, SG_INFO, "Reading user settings from autosave.xml"); SG_LOG(SG_INPUT, SG_INFO, "Reading user settings from autosave.xml");
try { try {