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…
Reference in New Issue