Changeset 935
- Timestamp:
- 09/24/07 15:47:31 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/main/php/net/stubbles/websites/memphis/stubMemphisIncludeTemplatePageElement.php
r888 r935 61 61 } 62 62 63 if (file_exists($this->source) == false) { 64 throw new stubIOException('The template ' . $this->source . ' does not exist or could not be read.'); 63 $tmplPath = stubRegistry::getConfig('net.stubbles.websites.memphis.templateDir', stubConfig::getPagePath() . '/../templates'); 64 if (file_exists($tmplPath . '/' . $this->source) == false) { 65 throw new stubIOException('The template ' . $tmplPath . '/' . $this->source . ' does not exist or could not be read.'); 65 66 } 66 67
