20240410#7

This commit is contained in:
User
2024-04-10 03:27:21 +03:00
parent 763228a883
commit bbaf319dc8

View File

@@ -21,7 +21,7 @@ class Content implements TemplateInterface {
$this->{$resKey} = $resVal; $this->{$resKey} = $resVal;
} }
ContentData::$basePath = dirname(__DIR__, 4); ContentData::$basePath = dirname(__DIR__, 4);
ContentData::$template = ContentData::$basePath.rtrim($template, '/'); ContentData::$template = ContentData::$basePath.$template;
return $this; return $this;
} }