haarg/wgdev

Add 'safe mode' flag

Closed this issue · 1 comments

It may be good to add a 'safe mode' flag that would be in the WGDev config file. With that flag set, WGDev would not try to auto-detect WebGUI config files. This would make it reasonable to put WGDev on a server and not worry about the ease of destroying a site. Build.PL could then ask if the flag should be set during installation.

Instead of doing this, I've removed the auto-detection of sites. It will now be safe by default, and you will need to specifically configure a site. Any safe by default setup would require configuration, and this is a simpler and less confusing behavior than an easy to misinterpret 'safe' flag.