1 Star 0 Fork 0

一叶之秋 / 即时通讯

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
worker_sys2.php 1.40 KB
一键复制 编辑 原始数据 按行查看 历史
一叶之秋 提交于 2020-10-26 18:44 . first commit
<?php
/* version 1.17.0123 */
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006-2014 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
//define('DOMAIN','.localhost');
//ini_set('session.cookie_domain',DOMAIN);//跨域访问Session
// 应用入口文件
// 检测PHP环境
if (version_compare ( PHP_VERSION, '5.3.0', '<' ))
die ( 'require PHP > 5.3.0 !' );
define("SYS", "3");
// 开启调试模式 建议开发阶段开启 部署阶段注释或者设为false
define ( 'APP_DEBUG', True );
require_once 'vendor/autoload.php';
// 定义应用目录
define ( 'APP_PATH', './Application/' );
/**
* 缓存目录设置
* 此目录必须可写,建议移动到非WEB目录
*/
define ( 'RUNTIME_PATH', './Runtime/' );
$session_name = session_name();
if (isset($_POST[$session_name])) {
session_id($_POST[$session_name]);
}
// 引入ThinkPHP入口文件
require './Core/ThinkPHP.php';
// 亲^_^ 后面不需要任何代码了 就是如此简单
PHP
1
https://gitee.com/samwol/instant-messaging-.git
git@gitee.com:samwol/instant-messaging-.git
samwol
instant-messaging-
即时通讯
master

搜索帮助