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
+9
View File
@@ -0,0 +1,9 @@
<?php
/**
* 后台管理中心
*/
define('IS_ADMIN', TRUE); // 项目标识
define('SELF', pathinfo(__FILE__, PATHINFO_BASENAME)); // 该文件的名称
require('index.php'); // 引入主文件
+15
View File
@@ -0,0 +1,15 @@
<?php
/**
* 域名api
*/
header('Content-Type: text/html; charset=utf-8');
if (!is_file('{ROOTPATH}index.php')) {
echo '当前服务器无法访问跨目录文件:';
echo 'http://help.xunruicms.com/655.html';
exit();
}
echo 'phpcmf ok';exit;
+12
View File
@@ -0,0 +1,12 @@
<?php
/**
* 子站入口
*/
!defined('SITE_ID') && define('SITE_ID', '{SITE_ID}');
define('WEBPATH', dirname(__FILE__).'/');
!defined('FIX_WEB_DIR') && define('FIX_WEB_DIR', '{FIX_WEB_DIR}');
// 执行主站程序
require '{ROOTPATH}index.php';
+15
View File
@@ -0,0 +1,15 @@
<?php
/**
* 域名api
*/
header('Content-Type: text/html; charset=utf-8');
if (!is_file('../index.php')) {
echo '当前服务器无法访问跨目录文件:';
echo 'http://help.xunruicms.com/655.html';
exit();
}
echo 'phpcmf ok';exit;
+11
View File
@@ -0,0 +1,11 @@
<?php
/**
* Cms 移动端入口程序
*/
define('IS_MOBILE', 1);
define('FIX_WEB_DIR', '{FIX_WEB_DIR}');
// 执行主程序
require '../index.php';