Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bbaf319dc8 | ||
|
|
763228a883 |
@@ -27,7 +27,7 @@ class Content implements TemplateInterface {
|
||||
|
||||
/** @inheritDoc */
|
||||
public function setSubtemplatePath(string $subtemplatePath = "") : TemplateInterface {
|
||||
ContentData::$subtemplatePath = ContentData::$basePath.$subtemplatePath;
|
||||
ContentData::$subtemplatePath = ContentData::$basePath.rtrim($subtemplatePath, '/');
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user