Initial project files: BESCMS full source
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* 后台管理中心
|
||||
*/
|
||||
|
||||
define('IS_ADMIN', TRUE); // 项目标识
|
||||
define('SELF', pathinfo(__FILE__, PATHINFO_BASENAME)); // 该文件的名称
|
||||
require('index.php'); // 引入主文件
|
||||
@@ -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,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';
|
||||
@@ -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,11 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Cms 移动端入口程序
|
||||
*/
|
||||
|
||||
define('IS_MOBILE', 1);
|
||||
define('FIX_WEB_DIR', '{FIX_WEB_DIR}');
|
||||
|
||||
// 执行主程序
|
||||
require '../index.php';
|
||||
Reference in New Issue
Block a user