update auto from git server, fixed checked

This commit is contained in:
2026-02-13 10:16:53 +07:00
parent d9742a4eb1
commit 881fddb1c8
+1 -1
View File
@@ -34,7 +34,7 @@ final class Update {
$_ainfo['svr_status'] = 0; $_ainfo['svr_status'] = 0;
$_ainfo['svr_message'] = "Server Offline"; $_ainfo['svr_message'] = "Server Offline";
if (empty($this->__web_app['GIT_OWNER'] || empty($this->__web_app['GIT_REPO']) return $_ainfo; if (empty($this->__web_app['GIT_OWNER']) || empty($this->__web_app['GIT_REPO'])) return $_ainfo;
try { try {
$_url = "https://git.trifonia.cloud/api/v1/repos/".$this->__web_app['GIT_OWNER']."/".$this->__web_app['GIT_REPO']."/commits?limit=1"; $_url = "https://git.trifonia.cloud/api/v1/repos/".$this->__web_app['GIT_OWNER']."/".$this->__web_app['GIT_REPO']."/commits?limit=1";