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