From: Charles C. <ch...@ru...> - 2004-11-16 03:36:40
|
On Tue, November 16, 2004 2:29, Reini Urban said: > Charles Corrigan schrieb: >> It appears that the problem is that Template.php expects that the >> current directory is the root directory for the wiki, but in >> actuality, the current directory is in the locales sub directory. What >> can I do to fix this? > > Manually: > Add chdir (PHPWIKI_DIR) after the locale hack. As a quick hack, I put an explict directory path in IniConfig.php and it worked for me. Thank-you for your swift response. However, it appears that PHPWIKI_DIR is not defined at that point but I am no PHP hacker and I may be wrong... > Sorry, you have to wait a bit. > I changed findFile and automatic include_patch logic, > but apparently it doesn't work right yet. > -- > Reini Urban > http://xarch.tu-graz.ac.at/home/rurban/ regards, Charles |