mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Fixes for STDIN
This commit is contained in:
parent
d7dab7a324
commit
d26fe16443
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user