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')
|
|
|
|
<div style="align-content: center;">
|
|
|
|
{!! Form::open(['route' => 'installer.step2', 'method' => 'GET']) !!}
|
|
|
|
<table class="table" width="25%">
|
|
|
|
<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)
|
|
|
|
<tr>
|
|
|
|
<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>
|
|
|
|
</tr>
|
|
|
|
@endforeach
|
2017-12-16 00:41:52 +08:00
|
|
|
|
|
|
|
<tr><td colspan="2"><h4>directory permissions</h4></td></tr>
|
|
|
|
@foreach($directories as $dir)
|
|
|
|
<tr>
|
|
|
|
<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>
|
|
|
|
</tr>
|
|
|
|
@endforeach
|
2017-12-15 06:38:29 +08:00
|
|
|
</table>
|
|
|
|
@if($passed === true)
|
|
|
|
<p style="text-align: right">
|
|
|
|
{!! Form::submit('Database Setup >>', ['class' => 'btn btn-success']) !!}
|
|
|
|
</p>
|
|
|
|
@endif
|
|
|
|
{{--{!! $php_version !!}
|
|
|
|
{!! $extensions !!}
|
|
|
|
{!! $passed !!}--}}
|
|
|
|
{!! Form::close() !!}
|
|
|
|
</div>
|
|
|
|
@endsection
|