These forums are not for official support. If you are looking for official support please click here.
You are here: Home :: Forum Home :: DevDemon :: General Discussion :: Thread
I’ve not looked into this in great detail, but I noticed the other day that an EE site installed with Channel Images wasn’t using the config variables for server file paths in NSM’s config_bootstrap
http://ee-garage.com/nsm-config-bootstrap
In other words, it was using the database set ones, and not bothering to look for any overwritten variables.
So my suggestion is to get the DevDemon suite of upload add-ons to use any overwritten file upload config variables. Without this it makes local, staging and production deployments much more fiddly.
I’ve put this note together in haste and note had time to delve into it in any great detail, so apologies in advance if I’m talking crap and whatever issue I’d run into was down to some other setting I’d not taken into account! Just wanted raise the idea while it was on my mind.
Am I right though - do the add-ons obey overwritten file path configs?
Thanks!
They currently do not use this.
But i understand your request and i will happily integrate this into our whole suite! Request noted
Hello, I noticed CI 5.0 is out. Wondered if this suggestion had been incorporated into this release? (Had a quick scan through the changelog but couldn’t see anything).
No worries if not - just wanted to check (have been continuing to pull my hair out having to manually change filepaths in the EE CP every time we sync staging to production or visa versa! ;-)
Maybe i can help you here quick.
Could you share with me the part of your config file that allows you to override the paths?
Maybe i can do a check for those
Hi Manuel,
Yeah sure, the one we tend to use is this one:
http://ee-garage.com/nsm-config-bootstrap
That said, I guess because the root server file path and root domain url are set per File Upload location in the EE CP, perhaps I’m wrong in saying that they can be controlled in a config file (as they will be different per EE installation).
I guess my ideal would be to be able to set the site_url and server_path for each file upload location in a config file, rather than in the EE CP. You can do a bulk swap using something like Deeploy Helper, but it still involves that manual step.
Perhaps this more an EE issue rather than a CI issue…!
Still, if there was someway you could build this kind of functionality in, it would be that extra cherry for me.
Cheers.