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,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;
@@ -0,0 +1,11 @@
<?php
/**
* 模块自定义域名入口
*/
define('SITE_ID', '{SITE_ID}');
$_GET['s'] = isset($_GET['s']) ? ($_GET['s'] == 'api' ? 'api' : '{MOD_DIR}') : '{MOD_DIR}';
// 执行主站程序
require '{ROOTPATH}index.php';
@@ -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;
@@ -0,0 +1,10 @@
<?php
/**
* Cms 移动端入口程序
*/
define('IS_MOBILE', 1);
// 执行主程序
require '../index.php';