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>
|
|
|
|
<td style="text-align:center;">
|
|
|
|
@if($php['passed'] === true)
|
|
|
|
<span class="badge badge-success">OK!</span>
|
|
|
|
@else
|
|
|
|
<span class="badge badge-danger">Failed!</span>
|
|
|
|
@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>
|
|
|
|
<td style="text-align:center;">
|
|
|
|
@if($ext['passed'] === true)
|
|
|
|
<span class="badge badge-success">OK!</span>
|
|
|
|
@else
|
|
|
|
<span class="badge badge-danger">Failed!</span>
|
|
|
|
@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>
|
|
|
|
<td style="text-align:center;">
|
|
|
|
@if($dir['passed'] === true)
|
|
|
|
<span class="badge badge-success">OK!</span>
|
|
|
|
@else
|
|
|
|
<span class="badge badge-danger">Failed!</span>
|
|
|
|
@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
|
|
|
{{--{{ $php_version }}
|
|
|
|
{{ $extensions }}
|
|
|
|
{{ $passed }}--}}
|
|
|
|
{{ Form::close() }}
|
2020-02-02 02:05:56 +08:00
|
|
|
</div>
|
2017-12-15 06:38:29 +08:00
|
|
|
@endsection
|