From: Arno H. <aho...@in...> - 2000-07-04 22:49:10
|
I just committed the following changes: - some bug fixes - added GetAllWikiPageNames($dbi) for mySQL - dumpserial & loadserial now rawurlen/decode() the filename - added support for locked pages Editing locked pages doesn't work yet. This is because $ScriptURL points to admin/index.php3 instead of the main index.php3. I ugly hack would be to str_replace /admin/ with "" But we aim for better solutions, don't we? Note: if ServerAddress is set manually and not by the if/else clause, then editing works. Comment out the part from wiki_lockpage and try it out. Also, ###LOGO### doesn't work from inside admin/ when using templates. This is because there's no absolute path used in the default config. So, lock pages works more or less. It's not 100% secure though -- to make it water-proof one would have to test in save_page as well. But I didn't bother right now. I mean, what are the odds, that someone is going to do some URL hacking? /Arno |