From 967bcc28b58152d06817e084f5d373e34f447ab0 Mon Sep 17 00:00:00 2001 From: Kavalar Date: Thu, 12 Dec 2024 15:11:31 +0300 Subject: [PATCH] cg view title --- kernel/CgView.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kernel/CgView.php b/kernel/CgView.php index 3057293..5934f82 100644 --- a/kernel/CgView.php +++ b/kernel/CgView.php @@ -75,6 +75,10 @@ class CgView $file_content = $content; + if (!isset($title)){ + $title = "No Title"; + } + $layoutPath = $this->viewPath; if ($this->layout) {