|
From: Steve W. <sw...@pa...> - 2001-03-31 19:34:22
|
OK, this is a fine example of cut and paste programming, but it works OK
for the test sites I used. I set up brand new 1.0 and 1.2 sites, and
converted the 1.0 dbm files to 1.2 dbm files and it seems to work fine.
This should be integrated with the admin functionality; in fact in the
first version of the admin functionality it was (there is still a script
in the admin/ directory called wiki_port1_0.php) but it no longer works.
This script should be self explanatory; all you need to do is set the
variables at the beginning of the script that point to the DBM files, both
old and new. It will open the 1.0 file as read-only, for your peace of
mind ;-)
After you run the script you will have new DBM files; edit the config.php
file for your 1.2 installation to use them (I used the default names so
this should be easy).
~swain
---
http://www.panix.com/~swain/
"Without music to decorate it, time is just a bunch of boring
production deadlines or dates by which bills must be paid."
-- Frank Zappa
|