by
Johan » Thu Sep 29, 2011 8:09 pm
KK wrote: At this point, making changes to get the settings from the admin panel, to tell the truth, will involve a fair bit of work.
I am open to the idea though and if we have enough people asking for this we can do so in the coming versions.
I can try something out this weekend for the ones interested. However, every user has to customize some pretty complicated stuff, such as the new include_path, since most webhosts don't allow a 'include('../globals.php')'.
Not considering that, it's pretty easy to make: just adding a new field to the global settings file, making the file echo it, letting the config.php read that variable using fread() and converting it to a 0 or 1.
At least, that's what it looks like to me. As long as the Couch software has no problems with it, it's pretty easy. However, as said before, everyone installing it will need to know the physical path to the website (like: /home/{username}/domains/{domain}/public_html/etcetc)..