"; $wfalse = ""; $utrue = ""; $ufalse = ""; $unull = "➖"; function getUrlSatusCode($url, $timeout = 3) { $ch = curl_init(); $opts = array(CURLOPT_RETURNTRANSFER => true, // do not output to browser CURLOPT_URL => $url, CURLOPT_NOBODY => true, // do a HEAD request only CURLOPT_TIMEOUT => $timeout); curl_setopt_array($ch, $opts); curl_exec($ch); $status = curl_getinfo($ch, CURLINFO_HTTP_CODE); curl_close($ch); return $status; } //Files or directories to test if writable $wrt1 = is_writable(base_path('.env')); $wrt2 = is_writable(base_path('database/database.sqlite')); //Files or directories to test if accessible externally $url1 = getUrlSatusCode(url('.env')); $url2 = getUrlSatusCode(url('database/database.sqlite')); ?> @if($url1 == '200' or $url2 == '200')

{{__('messages.security.risk')}}

@endif

{{__('messages.Security')}}

{{__('messages.security.risk.1-3')}} '' {{__('messages.security.risk.1-3')}} '' {{__('messages.security.risk.1-3')}}

Link {{__('messages.Hover for more')}}
{{ url('/.env') }}
{{ url('/database/database.sqlite') }}

{{__('messages.Write access')}}

{{__('messages.Write access.description.1-3')}} '' {{__('messages.Write access.description.2-3')}} '' {{__('messages.Write access.description.3-3')}}

0) {echo "$wtrue";} else {echo "$wfalse";} ?> 0) {echo "$wtrue";} else {echo "$wfalse";} ?>
File {{__('messages.Hover for more')}}
{{ base_path(".env") }}
{{ base_path("database/database.sqlite") }}

{{__('messages.Dependencies')}}

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

BCMath {{__('messages.PHP Extension')}}@if(extension_loaded('bcmath'))@else@endif
Ctype {{__('messages.PHP Extension')}}@if(extension_loaded('Ctype'))@else@endif
cURL {{__('messages.PHP Extension')}}@if(extension_loaded('cURL'))@else@endif
DOM {{__('messages.PHP Extension')}}@if(extension_loaded('DOM'))@else@endif
Fileinfo {{__('messages.PHP Extension')}}@if(extension_loaded('Fileinfo'))@else@endif
JSON {{__('messages.PHP Extension')}}@if(extension_loaded('JSON'))@else@endif
Mbstring {{__('messages.PHP Extension')}}@if(extension_loaded('Mbstring'))@else@endif
OpenSSL {{__('messages.PHP Extension')}}@if(extension_loaded('OpenSSL'))@else@endif
PCRE {{__('messages.PHP Extension')}}@if(extension_loaded('PCRE'))@else@endif
PDO {{__('messages.PHP Extension')}}@if(extension_loaded('PDO'))@else@endif
Tokenizer {{__('messages.PHP Extension')}}@if(extension_loaded('Tokenizer'))@else@endif
XML {{__('messages.PHP Extension')}}@if(extension_loaded('XML'))@else@endif
SQLite {{__('messages.PHP Extension')}}@if(extension_loaded('PDO_SQLite'))@else@endif
MySQL {{__('messages.PHP Extension')}}@if(extension_loaded('PDO_MySQL'))@else@endif