protected function _initialize(KConfig $config) { if (in_array($config->activity->name, array('file', 'folder'))) { // Use files strategy instead of default. $config->append(array('strategy' => 'files')); } parent::_initialize($config); }
protected function _initialize(KConfig $config) { $config->append(array('strategy' => 'files')); parent::_initialize($config); }