mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-31 03:04:34 -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()
|
public function update()
|
||||||
{
|
{
|
||||||
|
define('STDIN',fopen("php://stdin","r"));
|
||||||
|
|
||||||
if (Ninja::isNinja()) {
|
if (Ninja::isNinja()) {
|
||||||
return response()->json(['message' => 'Self update not available on this system.'], 403);
|
return response()->json(['message' => 'Self update not available on this system.'], 403);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user