@extends('layouts.installing') @Push('installer-body')
@if($_SERVER['QUERY_STRING'] === '') {{-- Landing page --}} @if(!DB::table('users')->get()->isEmpty()) @php if(file_exists(base_path("INSTALLING"))){unlink(base_path("INSTALLING"));} header("Refresh:0"); @endphp @else
Logo

{{__('messages.Setup LinkStack')}}

{{__('messages.Welcome to the setup for LinkStack!')}}

{{__('messages.This setup will:')}}
{{__('messages.Check the server dependencies')}}
{{__('messages.Setup the database')}}
{{__('messages.Create the admin user')}}
{{__('messages.Configure the app')}}

{{-- start language --}}

{{__('messages.Choose a language')}}

{{-- end language --}}

{{__('messages.setup.disclaimer')}} {{__('messages.Terms and Conditions')}}.

  @endif @endif @if($_SERVER['QUERY_STRING'] === 'error') {{-- Landing page --}}
Logo

{{__('messages.Setup failed')}}

{{__('messages.An error has occured. Please try again')}}

@endif @if($_SERVER['QUERY_STRING'] === '2') {{-- Landing page --}}
Logo

{{__('messages.Dependency check')}}

{{__('messages.Required PHP modules:')}}

BCMath: @if(extension_loaded('bcmath'))@else@endif
Ctype: @if(extension_loaded('Ctype'))@else@endif
cURL: @if(extension_loaded('cURL'))@else@endif
DOM: @if(extension_loaded('DOM'))@else@endif
Fileinfo: @if(extension_loaded('Fileinfo'))@else@endif
JSON: @if(extension_loaded('JSON'))@else@endif
iconv: @if(extension_loaded('iconv'))@else@endif
Mbstring: @if(extension_loaded('Mbstring'))@else@endif
OpenSSL: @if(extension_loaded('OpenSSL'))@else@endif
PCRE: @if(extension_loaded('PCRE'))@else@endif
PDO: @if(extension_loaded('PDO'))@else@endif
Tokenizer: @if(extension_loaded('Tokenizer'))@else@endif
XML: @if(extension_loaded('XML'))@else@endif

{{__('messages.Depending on your database type:')}}
SQLite: @if(extension_loaded('PDO_SQLite'))@else@endif
MySQL: @if(extension_loaded('PDO_MySQL'))@else@endif

@endif @if($_SERVER['QUERY_STRING'] === '3') {{-- Landing page --}}
Logo

{{__('messages.Setup LinkStack')}}

{{__('messages.Select a database type')}}

{{__('messages.Under most circumstances, we recommend using SQLite')}}
{{__('messages.MySQL requires a separate, empty MySQL database')}}




@endif @if($_SERVER['QUERY_STRING'] === 'mysql') {{-- Landing page --}}
Logo

{{__('messages.Setup LinkStack')}}

MySQL


@endif @if($_SERVER['QUERY_STRING'] === '4') {{-- Landing page --}}
Logo

{{__('messages.Setup LinkStack')}}

{{__('messages.Create an admin account')}}

@

@endif @if($_SERVER['QUERY_STRING'] === '5') {{-- Landing page --}}
Logo

{{__('messages.Setup LinkStack')}}

{{__('messages.Configure your page')}}


@endif
@endpush