From: Reini U. <ru...@x-...> - 2002-09-03 07:25:55
|
Lawrence Akka schrieb: > On Monday, September 2, 2002, 9:11:37 AM, Reini Urban wrote: >>>I am a little concerned about giving everyone the chance to find >>>out my disk space size, and certain other things about my server. >> > > RU> diskspace is `du -s PHPWIKI_DIR`, so actually only the diskspace used > RU> for phpwiki, which might be useful information for users who want to > RU> install it. database size similar. > RU> I wouldn't call that security sensible information. > > Fair enough :-). This won't work on windows servers though! It works at least on mine (MSVC Apache/mod_php4 + cygwin). :) >> <?plugin SystemInfo hitcounter ?> is a good idea. <?plugin SystemInfo >> hitstats ? displays full statistical information, but the raw number >> alone would also be interesting. > > I had in mind replacing each item of information on the info page with > a call to the SystemInfo plugin. That way, people could set up info > pages they way they wanted. It seems a very "wiki way" of doing things Yes. That's why I provided that many arguments. I'll add more to support customizable Info, but Info as it is now shouldn't go away imho. At least until we got the outstanding markup problems fixed: Tables with new markup, inline plugins with old markup. BTW: I also thought of some kind of strftime formatting for current local times somewhere else, e.g. in russia or new zealand. Current time in Moskow: <?plugin CurrentTime timezone="EET+1 DST" format="%X" locale="ru" ?>. Now it's <?plugin CurrentTime timezone="PST DST" format="%X" ?> in California and <?plugin CurrentTime timezone="EST DST" format="%X" ?> in New York. This wouldn't be possible with SystemInfo alone. -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ |