2017-12-15 06:38:29 +08:00
|
|
|
@extends('installer::app')
|
|
|
|
@section('title', 'Requirements Check')
|
2017-12-30 06:56:46 +08:00
|
|
|
|
2017-12-15 06:38:29 +08:00
|
|
|
@section('content')
|
2020-02-02 02:05:56 +08:00
|
|
|
<div style="align-content: center;">
|
2018-03-13 06:58:12 +08:00
|
|
|
{{ Form::open(['route' => 'installer.step2', 'method' => 'GET']) }}
|
2017-12-15 06:38:29 +08:00
|
|
|
<table class="table" width="25%">
|
2020-02-02 02:05:56 +08:00
|
|
|
<tr>
|
|
|
|
<td colspan="2"><h4>php version</h4></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td>PHP Version: {{ $php['version'] }}</td>
|
2020-02-29 07:00:56 +08:00
|
|
|
<td style="text-align:right;">
|
2020-02-02 02:05:56 +08:00
|
|
|
@if($php['passed'] === true)
|
2020-02-18 21:23:32 +08:00
|
|
|
<span class="badge badge-success">OK</span>
|
2020-02-02 02:05:56 +08:00
|
|
|
@else
|
2020-02-18 21:23:32 +08:00
|
|
|
<span class="badge badge-danger">Failed</span>
|
2020-02-02 02:05:56 +08:00
|
|
|
@endif
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<td colspan="2"><h4>php extensions</h4></td>
|
|
|
|
</tr>
|
|
|
|
@foreach($extensions as $ext)
|
2017-12-15 06:38:29 +08:00
|
|
|
<tr>
|
2020-02-02 02:05:56 +08:00
|
|
|
<td>{{ $ext['ext'] }}</td>
|
2020-02-29 07:00:56 +08:00
|
|
|
<td style="text-align:right;">
|
2020-02-02 02:05:56 +08:00
|
|
|
@if($ext['passed'] === true)
|
2020-02-18 21:23:32 +08:00
|
|
|
<span class="badge badge-success">OK</span>
|
2020-02-02 02:05:56 +08:00
|
|
|
@else
|
2020-02-18 21:23:32 +08:00
|
|
|
<span class="badge badge-danger">Failed</span>
|
2020-02-02 02:05:56 +08:00
|
|
|
@endif
|
|
|
|
</td>
|
2017-12-15 06:38:29 +08:00
|
|
|
</tr>
|
2020-02-02 02:05:56 +08:00
|
|
|
@endforeach
|
2017-12-15 06:38:29 +08:00
|
|
|
|
2020-02-02 02:05:56 +08:00
|
|
|
<tr>
|
|
|
|
<td colspan="2">
|
|
|
|
<h4>directory permissions</h4>
|
|
|
|
<p>Make sure these directories have read and write permissions</p>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
@foreach($directories as $dir)
|
2019-05-13 07:33:22 +08:00
|
|
|
<tr>
|
2020-02-02 02:05:56 +08:00
|
|
|
<td>{{ $dir['dir'] }}</td>
|
2020-02-29 07:00:56 +08:00
|
|
|
<td style="text-align:right;">
|
2020-02-02 02:05:56 +08:00
|
|
|
@if($dir['passed'] === true)
|
2020-02-18 21:23:32 +08:00
|
|
|
<span class="badge badge-success">OK</span>
|
2020-02-02 02:05:56 +08:00
|
|
|
@else
|
2020-02-18 21:23:32 +08:00
|
|
|
<span class="badge badge-danger">Failed</span>
|
2020-02-02 02:05:56 +08:00
|
|
|
@endif
|
|
|
|
</td>
|
2019-05-13 07:33:22 +08:00
|
|
|
</tr>
|
2020-02-02 02:05:56 +08:00
|
|
|
@endforeach
|
2017-12-15 06:38:29 +08:00
|
|
|
</table>
|
|
|
|
@if($passed === true)
|
2020-02-02 02:05:56 +08:00
|
|
|
<p style="text-align: right">
|
|
|
|
{{ Form::submit('Database Setup >>', ['class' => 'btn btn-success']) }}
|
|
|
|
</p>
|
2017-12-15 06:38:29 +08:00
|
|
|
@endif
|
2018-03-13 06:58:12 +08:00
|
|
|
{{ Form::close() }}
|
2020-02-02 02:05:56 +08:00
|
|
|
</div>
|
2017-12-15 06:38:29 +08:00
|
|
|
@endsection
|