mirror of
https://github.com/kmvan/x-prober.git
synced 2026-08-13 01:19:43 +08:00
update to 9.0.4
This commit is contained in:
+1
-1
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"APP_VERSION": "9.0.3",
|
||||
"APP_VERSION": "9.0.4",
|
||||
"APP_NAME": "X Prober",
|
||||
"APP_URL": "https://github.com/kmvan/x-prober",
|
||||
"AUTHOR_URL": "https://inn-studio.com/prober",
|
||||
|
||||
@@ -2,6 +2,12 @@
|
||||
|
||||
All Notable changes to `X-Prober` will be documented in this file
|
||||
|
||||
## 9.0.4 - 2025-08-14
|
||||
|
||||
### Fix
|
||||
|
||||
- Fix array_find function in PHP5.4 error
|
||||
|
||||
## 9.0.3 - 2025-08-14
|
||||
|
||||
### Fix
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"APP_VERSION": "9.0.3",
|
||||
"APP_VERSION": "9.0.4",
|
||||
"APP_NAME": "X Prober",
|
||||
"APP_URL": "https://github.com/kmvan/x-prober",
|
||||
"AUTHOR_URL": "https://inn-studio.com/prober",
|
||||
|
||||
Vendored
+4
-3
@@ -1415,12 +1415,13 @@ final class NodesAction
|
||||
}
|
||||
private function getNodeData($nodeId)
|
||||
{
|
||||
$node = array_find(NodesApi::getUserConfigNodes(), function ($item) use ($nodeId) {
|
||||
$nodes = array_filter(NodesApi::getUserConfigNodes(), function ($item) use ($nodeId) {
|
||||
return isset($item['url']) && isset($item['id']) && $item['id'] === $nodeId;
|
||||
});
|
||||
if ( ! $node) {
|
||||
if ( ! $nodes) {
|
||||
return;
|
||||
}
|
||||
$node = $nodes[0];
|
||||
$isDev = \defined('XPROBER_IS_DEV') && XPROBER_IS_DEV;
|
||||
$url = $node['url'];
|
||||
$isRemote = ( ! str_contains($url, 'localhost') || ! str_contains($url, '127.0.0.1'));
|
||||
@@ -1481,7 +1482,7 @@ namespace InnStudio\Prober\Components\Config;
|
||||
class ConfigApi
|
||||
{
|
||||
public static $config = array (
|
||||
'APP_VERSION' => '9.0.3',
|
||||
'APP_VERSION' => '9.0.4',
|
||||
'APP_NAME' => 'X Prober',
|
||||
'APP_URL' => 'https://github.com/kmvan/x-prober',
|
||||
'AUTHOR_URL' => 'https://inn-studio.com/prober',
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace InnStudio\Prober\Components\Config;
|
||||
class ConfigApi
|
||||
{
|
||||
public static $config = array (
|
||||
'APP_VERSION' => '9.0.3',
|
||||
'APP_VERSION' => '9.0.4',
|
||||
'APP_NAME' => 'X Prober',
|
||||
'APP_URL' => 'https://github.com/kmvan/x-prober',
|
||||
'AUTHOR_URL' => 'https://inn-studio.com/prober',
|
||||
|
||||
Reference in New Issue
Block a user