huihuicms系统以APP方式重新诠释cms的意义
程序员文章站
2022-05-06 11:51:47
...
php代码
index.php class huihuicms{ public function display(); } class Article extends huihuicms{ global $db; $list = $db->getAll("select * from table"); $this->display(); } class Shop extends huihuicms{ } class Admin{ $this->display(); } $article = new Article();