From: Carsten K. <car...@ya...> - 2003-11-12 03:26:57
|
Hi Andrey, Sorry for the delay in replying. * Actually, I made a mistake: there really should be an "!" in there: if (!defined("CHARSET")) define("CHARSET", "iso-8859-1"); If you have heavily modified your PhpWiki's index.php, it would be a good idea to make sure that CHARSET is also not being defined anywhere else. Sorry if this caused any confusion. Would you send me the date/time format string you hopefully figured out for your own windows server? :) I will try to somehow, automatically integrate it into PhpWiki. Cheers, Carsten On Monday, March 10, 2003, at 07:37 am, Andrey Cherezov wrote: >>> if (defined("CHARSET")) define("CHARSET", "iso-8859-1"); >> Okay, done. > > Thank you! There is my mistake - "defined" instead of "!defined". > > Next issue. I'm using PhpWiki under Windows 2000 more than year, > and in each PhpWiki version I'm forced to change the default > date/time format, because defaults > $Theme->setDateFormat("%A, %B %e, %Y"); > $Theme->setTimeFormat("%l:%M:%S %p"); > not working under Windows: > %e not prints day of month, and %l prints nothing (%l is not > documented in PHP at all). So, date/time show like this: > Last edited on Friday, March , 2003 :38:13 pm. > (PHP4.3.1/Windows2000/English) > See notes in http://www.php.net/manual/ru/function.strftime.php : > Not all conversion specifiers may be supported by your C library, in > which > case they will not be supported by PHP's strftime(). This means that > e.g. > %e, %T, %R and %D (there might be more) will not work on Windows. > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Phpwiki-talk mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwiki-talk > |