bjornbjorn / snippetssync.ee2_addon

Save snippets as files during development
http://wedoaddons.com
21 stars 8 forks source link

Overriding prefix on EECMS config.php #12

Closed robsonsobral closed 10 years ago

robsonsobral commented 10 years ago

Hi, Bjorn!

My intention on prefix was to set them on the config.php of EECMS.

May I create an $config['snippetssync_snippet_prefix_override']?

I prefer to keep all configurations on one single file.

Thank you so much for your attention!

bjornbjorn commented 10 years ago

Hi, sorry for the slow response .. yes, I agree, it's best to set these in a master config.

Not sure if the 'override' path that I initially chose is the best. I'm thinking maybe using the same names and then if they are not set loading the local config instead ... These ways the names will be the same in the master config and the local config .. and if you set them in the master config then these will be used.

bjornbjorn commented 10 years ago

I've now updated this in release-1.1.3 .. so if you set any of these variables in the master config then the local config won't be loaded.