From: Reini U. <ru...@x-...> - 2005-01-08 19:05:01
|
Arnaud Fontaine schrieb: > Arnaud Fontaine a écrit : >> I have a "Call to undefined function: locale_versions() in the >> config.php file since last CVS update ... >> >> It's defined in FileFinder but the require_once is commented .... why ? > > Hmm ... I partially answer to myself : > locale_versions is not a function but a method of the FileFinder class. > in the function guessing_lang (in config.php), locale_versions is called > as a function. This is a bug. Thanks. I'm just working on this. It's not ready yet. LANG should only set if the translated homepage exists. I have to defer this lang setting to the WikiRequest::initializeLang() call in lib/main.php > I tried to call it as a class method ($languages = > FileFinder::locale_versions($languages);) and it almost worked ... now, > I have some warning about array to string casting ... > > What did you change, Reini ? -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ |