Copyright 2010-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Author: Gunnar Wrobel (wrobel@pardus.de)
Example #1
0
 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));
     }
 }
Example #2
0
 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));
 }