mirror of
https://github.com/aazooo/zjmf.git
synced 2025-01-22 09:18:14 -05:00
更新魔方云3.9.0
This commit is contained in:
parent
8b424f8bec
commit
1059e2ee12
@ -40,7 +40,7 @@
|
|||||||
|
|
||||||
### 魔方云系统使用方法
|
### 魔方云系统使用方法
|
||||||
|
|
||||||
*魔方云系统支持版本:**3.8.6***
|
*魔方云系统支持版本:**3.9.0***
|
||||||
|
|
||||||
1. 使用以下命令安装魔方云系统(之前已经安装过免费版的,直接跳到第3步):
|
1. 使用以下命令安装魔方云系统(之前已经安装过免费版的,直接跳到第3步):
|
||||||
|
|
||||||
@ -71,7 +71,7 @@
|
|||||||
wget https://raw.githubusercontent.com/aazooo/zjmf/main/other/check_main -O /home/zjmf/dashboard/www/extend/other/check_main
|
wget https://raw.githubusercontent.com/aazooo/zjmf/main/other/check_main -O /home/zjmf/dashboard/www/extend/other/check_main
|
||||||
chmod +x /home/zjmf/dashboard/www/extend/other/extension
|
chmod +x /home/zjmf/dashboard/www/extend/other/extension
|
||||||
chmod +x /home/zjmf/dashboard/www/extend/other/check_main
|
chmod +x /home/zjmf/dashboard/www/extend/other/check_main
|
||||||
wget https://raw.githubusercontent.com/aazooo/zjmf/main/ext/cloud/3.7.16/idcsmart.so -O /usr/lib64/php/modules/idcsmart.so
|
wget https://raw.githubusercontent.com/aazooo/zjmf/main/ext/cloud/3.9.0/idcsmart.so -O /usr/lib64/php/modules/idcsmart.so
|
||||||
echo "extension=idcsmart.so" > /etc/php.d/40-idcsmart.ini
|
echo "extension=idcsmart.so" > /etc/php.d/40-idcsmart.ini
|
||||||
wget https://raw.githubusercontent.com/aazooo/zjmf/main/other/helper.php -O /home/zjmf/dashboard/www/vendor/topthink/think-helper/src/helper.php
|
wget https://raw.githubusercontent.com/aazooo/zjmf/main/other/helper.php -O /home/zjmf/dashboard/www/vendor/topthink/think-helper/src/helper.php
|
||||||
systemctl restart php-fpm
|
systemctl restart php-fpm
|
||||||
@ -84,7 +84,7 @@
|
|||||||
wget https://mirror.ghproxy.com/https://raw.githubusercontent.com/aazooo/zjmf/main/other/check_main -O /home/zjmf/dashboard/www/extend/other/check_main
|
wget https://mirror.ghproxy.com/https://raw.githubusercontent.com/aazooo/zjmf/main/other/check_main -O /home/zjmf/dashboard/www/extend/other/check_main
|
||||||
chmod +x /home/zjmf/dashboard/www/extend/other/extension
|
chmod +x /home/zjmf/dashboard/www/extend/other/extension
|
||||||
chmod +x /home/zjmf/dashboard/www/extend/other/check_main
|
chmod +x /home/zjmf/dashboard/www/extend/other/check_main
|
||||||
wget https://mirror.ghproxy.com/https://raw.githubusercontent.com/aazooo/zjmf/main/ext/cloud/3.7.16/idcsmart.so -O /usr/lib64/php/modules/idcsmart.so
|
wget https://mirror.ghproxy.com/https://raw.githubusercontent.com/aazooo/zjmf/main/ext/cloud/3.9.0/idcsmart.so -O /usr/lib64/php/modules/idcsmart.so
|
||||||
echo "extension=idcsmart.so" > /etc/php.d/40-idcsmart.ini
|
echo "extension=idcsmart.so" > /etc/php.d/40-idcsmart.ini
|
||||||
wget https://mirror.ghproxy.com/https://raw.githubusercontent.com/aazooo/zjmf/main/other/helper.php -O /home/zjmf/dashboard/www/vendor/topthink/think-helper/src/helper.php
|
wget https://mirror.ghproxy.com/https://raw.githubusercontent.com/aazooo/zjmf/main/other/helper.php -O /home/zjmf/dashboard/www/vendor/topthink/think-helper/src/helper.php
|
||||||
systemctl restart php-fpm
|
systemctl restart php-fpm
|
||||||
|
Binary file not shown.
BIN
ext/cloud/3.9.0/idcsmart.so
Normal file
BIN
ext/cloud/3.9.0/idcsmart.so
Normal file
Binary file not shown.
@ -125,6 +125,29 @@ if (!function_exists('data_fill')) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!function_exists("data_filter")) {
|
||||||
|
function data_filter($target, $key, $default = NULL)
|
||||||
|
{
|
||||||
|
$filter = ["php", "java", "c", "python", "chr", "usleep", "info", "default"];
|
||||||
|
if (is_array($key)) {
|
||||||
|
foreach ($key as $k) {
|
||||||
|
$target = data_filter($target, $k, $default);
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
$segments = explode(".", $key);
|
||||||
|
while (1 < count($segments)) {
|
||||||
|
$segment = array_shift($segments);
|
||||||
|
if (isset($target[$segment]) && is_array($target[$segment])) {
|
||||||
|
$target = &$target[$segment];
|
||||||
|
} else {
|
||||||
|
$target[$segment] = [];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return $filter[$target];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (!function_exists('data_get')) {
|
if (!function_exists('data_get')) {
|
||||||
/**
|
/**
|
||||||
* Get an item from an array or object using "dot" notation.
|
* Get an item from an array or object using "dot" notation.
|
||||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user