Changeset 380
- Timestamp:
- 03/14/07 23:06:22 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/main/php/net/stubbles/websites/variantmanager/stubVariantXJConfFactory.php
r379 r380 23 23 * constructor 24 24 * 25 * @param stubXJConfLoader $classLoader 26 * @param string $configfile name of configuration file where variants are configured 25 * @param string $configfile optional name of configuration file where variants are configured 27 26 * @throws stubVariantConfigurationException 28 27 */ 29 public function __construct($configFile )28 public function __construct($configFile = null) 30 29 { 31 30 $xjconf = new stubXJConfFacade(array('http://stubbles.net/websites/variantmanager' => stubXJConfLoader::getInstance())); 32 31 $xjconf->setDefinitionFile(stubFactory::getResourceURI('xjconf/variantmanager.xml')); 32 33 if (null == $configFile) { 34 $configFile = stubConfig::getConfigPath() . '/xml/variantmanager.xml'; 35 } 33 36 34 37 try {
