332 Star 1.1K Fork 287

星梦 / PbootCMS

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or download
api.php 569 Bytes
Copy Edit Web IDE Raw Blame History
星梦 authored 2019-08-05 15:34 . V2.0.0
<?php
/**
* @copyright (C)2016-2099 Hnaoyun Inc.
* @author XingMeng
* @email hnxsh@foxmail.com
* @date 2016年11月5日
* API入口文件
*/
// 定义为入口文件
define('IS_INDEX', true);
// 入口文件地址绑定
define('URL_BIND', 'api');
// PHP版本检测
if (PHP_VERSION < '5.3') {
echo json_encode(array(
'code' => 0,
'data' => 'The version of your server PHP is too low, and the program requires PHP version not less than 5.3.'
));
exit();
}
// 引用内核启动文件
require dirname(__FILE__) . '/core/start.php';

Comment ( 0 )

Sign in for post a comment

PHP
1
https://gitee.com/hnaoyun/PbootCMS.git
git@gitee.com:hnaoyun/PbootCMS.git
hnaoyun
PbootCMS
PbootCMS
3.X

Search

153430 a91d09cc 1899542 180418 42a90fc8 1899542