This commit is contained in:
Yuri Kuznetsov
2021-06-26 10:51:02 +03:00
parent 74693c5f6e
commit f38811ae9d

View File

@@ -98,10 +98,7 @@ class Layout
return Json::encode($data);
}
$filePath = Util::concatPath(
$this->defaultPath,
$name . '.json'
);
$filePath = $this->defaultPath . '/' . $name . '.json';
if (!$this->fileManager->isFile($filePath)) {
return null;