plainblack.com
Username Password
search
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 < ../../../Opts.pm.custom-db-name.patch

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

rm /data/Opts.pm.custom-db-name.patch 

 

To use:

cd /data/wre/sbin

./addsite --admin-db-pass=WHATEVERITIS --sitename=www.yoursitenamehere.com --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.
Comments
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: 394
Views: 5410
Rating: 4
Updated: 11/30/2006
Keywords miscellaneous
NavigationBack to the Bazaar
© 2018 Plain Black Corporation | All Rights Reserved