Changeset 765
- Timestamp:
- 07/11/07 20:46:32 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/main/php/net/stubbles/websites/processors/stubJsonRpcProcessor.php
r761 r765 329 329 */ 330 330 protected function getServiceFilePath() { 331 return stubConfig::getConfigPath() . '/xml/' . stubRegistry::get(self::KEY_SERVICE_FILE,'json-rpc-service.xml'); 331 $configFile = stubConfig::getConfigPath() . '/xml/' . stubRegistry::getConfig(self::KEY_SERVICE_FILE,'json-rpc-service.xml'); 332 if (!file_exists($configFile) || !is_readable($configFile)) { 333 stubClassLoader::load('net.stubbles.util.exceptions.stubFileNotFoundException'); 334 throw new stubFileNotFoundException($configFile); 335 } 336 return $configFile; 332 337 } 333 338 }
