Merge pull request #3785 from turbo124/v2

Fixes for STDIN
This commit is contained in:
David Bomba 2020-06-04 21:43:08 +10:00 committed by GitHub
commit 2309a36620
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,6 +62,8 @@ class SelfUpdateController extends BaseController
*/
public function update()
{
define('STDIN',fopen("php://stdin","r"));
if (Ninja::isNinja()) {
return response()->json(['message' => 'Self update not available on this system.'], 403);
}