/** * Returns the instance of the enlight configuration. If no configuration is set, * the logDb, logTemplate and the logController flags will be set to true. * * @return Enlight_Config */ public function Config() { $config = parent::Config(); if(count($config) === 0) { $config->merge(new Enlight_Config(array( 'logDb' => true, 'logTemplate' => true, 'logController' => true, 'logModel' => true, ))); } return $config; }