public function run() { $script = $this->_config_application->getTemplateDirectory() . '/components.php'; if (file_exists($script)) { include $script; } else { throw new Components_Exception(sprintf('The distribution specific helper script at "%s" is missing!', $script)); } }
public function run() { $options = $this->_config->getOptions(); $templates = new Components_Helper_Templates_RecursiveDirectory($this->_config_application->getTemplateDirectory(), $options['cisetup']); $templates->write(array('config' => $this->_config)); }