Initial project files: BESCMS full source

This commit is contained in:
bes
2026-08-13 23:37:46 +08:00
parent fa6cddb540
commit 2e26f85723
2166 changed files with 396625 additions and 0 deletions
@@ -0,0 +1,26 @@
<?php
/**
* The View class
*/
class LtView
{
public $layoutDir;
public $templateDir;
public $layout;
public $template;
public function render()
{
if (!empty($this->layout))
{
include($this->layoutDir . $this->layout . '.php');
}
else
{
include($this->templateDir . $this->template . '.php');
}
}
}