mirror of
https://github.com/kuaifan/dootask.git
synced 2026-01-09 06:28:11 +00:00
no message
This commit is contained in:
parent
2ad5ccabec
commit
5982424864
@ -57,7 +57,7 @@ class IndexController extends InvokeController
|
||||
*/
|
||||
public function version()
|
||||
{
|
||||
$url = Base::getUrl();
|
||||
$url = url('');
|
||||
$package = Base::getPackage();
|
||||
$array = [
|
||||
'version' => Base::getVersion(),
|
||||
@ -66,7 +66,7 @@ class IndexController extends InvokeController
|
||||
if (is_array($package['app'])) {
|
||||
foreach ($package['app'] as $item) {
|
||||
if (is_array($item['publish']) && Base::hostContrast($url, $item['url'])) {
|
||||
$array = $item['publish'];
|
||||
$array['publish'] = $item['publish'];
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user