Add alive request to Init command
This commit is contained in:
@@ -35,10 +35,11 @@ class Init extends Command
|
|||||||
}
|
}
|
||||||
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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user