From bbaf319dc851d768352c95479718ccdb48b13b0e Mon Sep 17 00:00:00 2001 From: User Date: Wed, 10 Apr 2024 03:27:21 +0300 Subject: [PATCH] 20240410#7 --- src/Content.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Content.php b/src/Content.php index ca7c808..a953aff 100644 --- a/src/Content.php +++ b/src/Content.php @@ -21,7 +21,7 @@ class Content implements TemplateInterface { $this->{$resKey} = $resVal; } ContentData::$basePath = dirname(__DIR__, 4); - ContentData::$template = ContentData::$basePath.rtrim($template, '/'); + ContentData::$template = ContentData::$basePath.$template; return $this; }