Metrics
0
Watch 9 Star 19 Fork 2

随风星海 / OhscePHP

Sign up for free
Explore and code with more than 2 million developers,Free private repositories !:)
Sign up
PHP HI-REL SOCKET TCP/UDP/ICMP/Serial .高可靠性PHP通信&控制框架SOCKET-TCP/UDP/ICMP/硬件Serial-RS232/422/485等 http://www.ohsce.org spread retract

http://www.ohsce.org

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 )

You need to Sign in for post a comment

Help Search

Gitee_sixth 5th_float_left_close