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
+23
View File
@@ -0,0 +1,23 @@
<?php namespace Phpcmf;
/**
* https://www.besyun.com
* BESCMS
* 本文件是框架系统文件,二次开发时不可以修改本文件
**/
// 应用公共继承类
class App extends \Phpcmf\Common {
public function __construct() {
parent::__construct();
if (!dr_is_app(APP_DIR)) {
if (is_file(APPPATH.'Config/App.php')) {
$cfg = require APPPATH.'Config/App.php';
$this->_msg(0, dr_lang('应用[%s]未安装', $cfg['name']));
} else {
$this->_msg(0, dr_lang('应用[%s]未安装', APP_DIR));
}
}
}
}