Add else statement to onboarding check to fix undefined variable.
This commit is contained in:
parent
294c3c85c5
commit
311b2b5e2b
1 changed files with 3 additions and 1 deletions
|
@ -23,8 +23,10 @@ class ExtensionsController extends Controller
|
|||
public function index(): View
|
||||
{
|
||||
// Onboarding check.
|
||||
if(shell_exec("cd /var/www/pterodactyl; cat .blueprint/.flags/onboarding.md") == "*blueprint*") {
|
||||
if(shell_exec("cd /var/www/pterodactyl;cat .blueprint/.flags/onboarding.md") == "*blueprint*") {
|
||||
$onboarding = true;
|
||||
} else {
|
||||
$onboarding = false;
|
||||
}
|
||||
return $this->view->make('admin.extensions', [
|
||||
'version' => $this->version,
|
||||
|
|
Loading…
Reference in a new issue