Browse Source

fix linux update api script call

CauseFX 4 năm trước cách đây
mục cha
commit
a8f8cc4a50
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      api/functions/update-functions.php

+ 1 - 1
api/functions/update-functions.php

@@ -65,7 +65,7 @@ trait UpdateFunctions
 			$this->setResponse(409, 'Your install type is not Linux');
 			return false;
 		}
-		$branch = $this->config['branch'] == 'v2-master';
+		$branch = $this->config['branch'];
 		ini_set('max_execution_time', 0);
 		set_time_limit(0);
 		$logFile = dirname(__DIR__, 2) . DIRECTORY_SEPARATOR . 'scripts' . DIRECTORY_SEPARATOR . 'log.txt';