Subj : CVS commit src/sbbs3/websrvr.c To : All From : rswindell Date : Tue Feb 15 2005 03:57 pm src/sbbs3 websrvr.c 1.263 1.264 Update of /cvsroot/sbbs/src/sbbs3 In directory cvs.synchro.net:/tmp/cvs-serv5105 Modified Files: websrvr.c Log Message: Work-around: chdir() to ctrl_dir during initialization. Deuce's .ssjs files make assumptions about the cwd when opening files. If the bbs_thread didn't chdir() to ctrl_dir for us, then these file opens would fail (e.g. templates). Created global JS variables: web_root_dir and web_error_dir to be used in the future instead of assuming that "../web/.." will be the correct location of a specific file. This makes me wish web/root were the default websrvr.root_dir value. :-) .