update auto from git server, fixed checked
This commit is contained in:
+1
-1
@@ -34,7 +34,7 @@ final class Update {
|
||||
$_ainfo['svr_status'] = 0;
|
||||
$_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 {
|
||||
$_url = "https://git.trifonia.cloud/api/v1/repos/".$this->__web_app['GIT_OWNER']."/".$this->__web_app['GIT_REPO']."/commits?limit=1";
|
||||
|
||||
Reference in New Issue
Block a user