diff --git a/plugins/php/conf/app_start.php b/plugins/php/conf/app_start.php index 97dc7a8c3..63074175f 100644 --- a/plugins/php/conf/app_start.php +++ b/plugins/php/conf/app_start.php @@ -4,8 +4,8 @@ define('XHProf_Name', 'mdd'); /** * xhprof 配置,便于调试快速找到问题 - * author midoks@163.com */ + function app_xhprof_start() { $root = '{$ROOT_PATH}'; $lib = $root . '/server/xhprof/xhprof_lib/utils/xhprof_lib.php'; diff --git a/plugins/php/lib/openssl.sh b/plugins/php/lib/openssl.sh index 4d6294eac..d76ca49ca 100644 --- a/plugins/php/lib/openssl.sh +++ b/plugins/php/lib/openssl.sh @@ -13,18 +13,6 @@ rootPath=$(dirname "$rootPath") SERVER_ROOT=$rootPath/lib SOURCE_ROOT=$rootPath/source/lib -# if [ ! -d ${SERVER_ROOT}/openssl ];then -# cd ${SOURCE_ROOT} -# if [ ! -f ${SOURCE_ROOT}/openssl-1.0.2q.tar.gz ];then -# wget https://github.com/midoks/mdserver-web/releases/download/init/openssl-1.0.2q.tar.gz -T 20 -# fi -# tar -zxf openssl-1.0.2q.tar.gz -# cd openssl-1.0.2q -# ./config --openssldir=${SERVER_ROOT}/openssl zlib-dynamic shared -# make && make install -# fi - - if [ ! -d ${SERVER_ROOT}/openssl ];then cd ${SOURCE_ROOT} if [ ! -f ${SOURCE_ROOT}/openssl-1.1.1p.tar.gz ];then