11 Star 22 Fork 3

随风星海 / Ohsce

Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
Clone or download
loadohsce.php 1.29 KB
Copy Edit Web IDE Raw Blame History
随风星海 authored 2017-06-03 21:13 . v0.2.0.2
<?php
/*
OHSCE_V0.2.0.2_B
高可靠性的PHP通信框架。
HTTP://WWW.OHSCE.ORG
@作者:林友哲 393562235@QQ.COM
作者保留全部权利,请依照授权协议使用。
该文件禁止改名!否则可能会无法运行!
*/
error_reporting(E_ALL);
if(!defined('IN_OHSCE')){
define('IN_OHSCE', TRUE);
}
if(file_exists(dirname(__FILE__).'/config/oibc_sce_config.php')){
defined('OHSCE_ROOTDIR') or define('OHSCE_ROOTDIR',dirname(__FILE__));
}elseif(file_exists(dirname(__FILE__).'/Ohsce/config/oibc_sce_config.php')){
defined('OHSCE_ROOTDIR') or define('OHSCE_ROOTDIR',dirname(__FILE__).'/Ohsce/');
}elseif(file_exists(dirname(__FILE__).'/OHSCE/config/oibc_sce_config.php')){
defined('OHSCE_ROOTDIR') or define('OHSCE_ROOTDIR',dirname(__FILE__).'/OHSCE/');
}else{
exit('Can not find Ohsce or OHSCE!');
sleep(30);
}
define('OIBC_VERSON','0.2.0_beta');
include(OHSCE_ROOTDIR.'/config/oibc_sce_config.php');
include(OHSCE_ROOTDIR.'/config/oibc_drive_config.php');
include(OHSCE_ROOTDIR.'/lib/bts_little.php');
include(OHSCE_ROOTDIR.'/lib/oibc_sce_fuc.php');
include(OHSCE_ROOTDIR.'/lib/oibc_sce_eng.php');
include(OHSCE_ROOTDIR.'/lib/ohsce_Channel.php');
include(OHSCE_ROOTDIR.'/config/oibc_ext_load.php');
define('OHSCE_OS',Ohsce_getos($oibc_sce_os));
$ohsce_eng_socket_client_wait=0;
$ohsce_eng_serial_wait=3000;

Comment ( 0 )

Sign in for post a comment

PHP
1
https://git.oschina.net/SFXH/Ohsce.git
git@git.oschina.net:SFXH/Ohsce.git
SFXH
Ohsce
Ohsce
master

Search