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) {