Watch 1 Star 2 Fork 147

深圳优创智投科技有限公司 / uctooPHP

forked from uctoo / uctoo 
Join us
Explore and code with more than 2 million developers,Free private repositories !:)
Sign up
UCToo是一套简单,易用,开源的微信增值应用开发框架。技术选型thinkphp,opencenter,wechat-php-sdk,weui,jquery... spread retract

Clone or download
api.php 751 Bytes
Copy Edit Web IDE Raw Blame History
uctoo authored 2016-04-07 11:31 . 更新opencenter至V2.0版本
<?php
/**
* Created by PhpStorm.
* User: caipeichao
* Date: 1/14/14
* Time: 8:12 PM
*/
/**
* 调试开关
* 项目正式部署后请设置为false
*/
define ( 'APP_DEBUG', true );
//从URL获取SESSION编号
ini_set("session.use_cookies",0);
ini_set("session.use_trans_sid",1);
if($_REQUEST['session_id']) {
session_id($_REQUEST['session_id']);
session_start();
}
//调用Application/Api应用
// 绑定访问Admin模块
define('BIND_MODULE','App');
define ( 'APP_PATH', './Application/' );
/**
* 主题目录 OpenCenter模板地址 (与ThinkPHP中的THEME_PATH不同)
* @author 郑钟良<zzl@ourstu.com>
*/
define ('OS_THEME_PATH', './Theme/');
define ( 'RUNTIME_PATH', './Runtime/' );
require './ThinkPHP/ThinkPHP.php';

Comment ( 0 )

Sign in for post a comment

PHP
1
https://gitee.com/UCT/uctoo.git
git@gitee.com:UCT/uctoo.git
UCT
uctoo
uctoo
master

Help Search