Sometimes, we want to be able to change some symfony config from the admin panel.
This very simple plugin allows you to override any sfConfig app_* from the System > Configuration > Settings panel.
You just have to create a new setting starting with the app_ prefix.
git clone git://github.com/jeremyfa/dmConfigOverriderPlugin.git plugins/dmConfigOverriderPlugin
class ProjectConfiguration extends dmProjectConfiguration { public function setup() { parent::setup(); $this->enablePlugins(array( // your enabled plugins 'dmConfigOverriderPlugin' ));
php symfony dm:setup
Sometimes, we want to be able to change some symfony config from the admin panel.
This very simple plugin allows you to override any sfConfig app_* from the System > Configuration > Settings panel.
You just have to create a new setting starting with the app_ prefix.
If you want to override a app_ setting in only one application (front application for example). You can do it by using the app::front_ prefix.
If you want for example to enable recaptcha from the admin panel in the front application, you will create a app::front_recaptcha_enabled setting and set it to true.
dmConfigOverriderPlugin, created on March 26, 2010 by jeremyfa, used by 15 projects