Username Password
Bookmark and Share

Custom database names for addsite in WRE

To apply: 

Save attached file in your home dir as custom-db-name.tar.gz 

Become root (sudo -s) 

cd /data

tar xzvf ~/custom-db-name.tar.gz 

cd wre/sbin 

patch < ../../addsite.custom-db-name.patch

cd ../lib/Hoster

patch < ../../../

rm /data/addsite.custom-db-name.patch

rm /data/ 


To use:

cd /data/wre/sbin

./addsite --admin-db-pass=WHATEVERITIS --db-name=whatever_you_want

System RequirementsPlease be advised: this contribution was tested with something older than WebGUI 7.5. When this contribution was uploaded there was no field for the author to fill out regarding it's requirements.
4snapcount: "
Flexibility is always good.  Haven't had a chance to look at how you implemented this but I would suggest you submit this as an RFE with a link to your contribution for inclusion in the core.  Make sure you include the word PATCH or similar in the thread title so it's obvious that the code is written.  You can also submit patches like this to the dev list for review to see if it can be included in the core.

Thanks for contributing!  Keep 'em coming =) 
Downloadcustom-db-name.tar.gz custom-db-name.tar.gz
LinksNo Support Offered
Statistics Downloads: 760
Views: 6350
Rating: 4
Updated: 11/30/2006
Keywords miscellaneous
NavigationBack to the Bazaar
© 2023 Plain Black Corporation | All Rights Reserved