Add alive request to Init command
This commit is contained in:
parent
25bf8895e2
commit
82592c8222
1 changed files with 2 additions and 1 deletions
|
|
@ -35,10 +35,11 @@ public function handle()
|
||||||
}
|
}
|
||||||
private function alive()
|
private function alive()
|
||||||
{
|
{
|
||||||
|
echo "Sending alive request.\n";
|
||||||
$id = config('app.id');
|
$id = config('app.id');
|
||||||
$settings = InstanceSettings::get();
|
$settings = InstanceSettings::get();
|
||||||
$do_not_track = data_get($settings, 'do_not_track');
|
$do_not_track = data_get($settings, 'do_not_track');
|
||||||
if ($do_not_track) {
|
if ($do_not_track == true) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue