Esempio n. 1
0
 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);
 }
Esempio n. 2
0
 protected function _initialize(KConfig $config)
 {
     $config->append(array('strategy' => 'files'));
     parent::_initialize($config);
 }