Skip to content

Commit 414a3fa

Browse files
committed
Update diagnose.blade.php
1 parent fed93da commit 414a3fa

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

resources/views/components/config/diagnose.blade.php

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -56,47 +56,47 @@ function getUrlSatusCode($url, $timeout = 3)
5656
<a href="https://docs.littlelink-custom.com/d/installation-requirements/" target="_blank"><h4 style="color:tomato;">Your security is at risk. Some files can be accessed by everyone. Immediate action is required! <br> Click this message to learn more.</h4></a>
5757
@endif
5858

59-
<h3 class="mb-4">Write access</h3>
60-
<p>Here, you can easily verify if important system files can be written to. This is important for every function to work properly. Entries marked with a '✔️' work as expected, entries marked with a '❌' do not.</p>
59+
<h3 class="mb-4">Security</h3>
60+
<p>Here, you can easily verify if critical system files can be accessed externally. It is important that these files cannot be accessed, otherwise user data like passwords could get leaked. Entries marked with a '✔️' cannot be accessed externally, entries marked with a '❗' can be accessed by anyone and require immediate action to protect your data.</p>
6161

6262
<table class="table table-bordered">
6363
<thead>
6464
<tr>
65-
<th scope="col" style="width: 90%;">File</th>
65+
<th scope="col" style="width: 90%;">Link</th>
6666
<th title="You can hover over entries to learn more about their current status" style="cursor: help;" scope="col">Hover for more</th>
67+
6768
</tr>
6869
</thead>
6970
<tbody>
7071
<tr>
71-
<td title="">{{ base_path(".env") }}</td>
72-
<?php if ($wrt1 > 0) {echo "$wtrue";} else {echo "$wfalse";} ?>
72+
<td title="">{{ url('/.env') }}</td>
73+
<?php if($url1 == '200'){echo "$utrue";} elseif($url1 == '0'){echo "$unull";} else{echo "$ufalse";} ?>
7374
</tr>
7475
<tr>
75-
<td title="">{{ base_path("database/database.sqlite") }}</td>
76-
<?php if ($wrt2 > 0) {echo "$wtrue";} else {echo "$wfalse";} ?>
76+
<td title="">{{ url('/database/database.sqlite') }}</td>
77+
<?php if($url2 == '200'){echo "$utrue";} elseif($url2 == '0'){echo "$unull";} else{echo "$ufalse";} ?>
7778
</tr>
7879
</tbody>
7980
</table>
8081

81-
<br><h3 class="mb-4">Security</h3>
82-
<p>Here, you can easily verify if critical system files can be accessed externally. It is important that these files cannot be accessed, otherwise user data like passwords could get leaked. Entries marked with a '✔️' cannot be accessed externally, entries marked with a '❗' can be accessed by anyone and require immediate action to protect your data.</p>
82+
<br><h3 class="mb-4">Write access</h3>
83+
<p>Here, you can easily verify if important system files can be written to. This is important for every function to work properly. Entries marked with a '✔️' work as expected, entries marked with a '❌' do not.</p>
8384

8485
<table class="table table-bordered">
8586
<thead>
8687
<tr>
87-
<th scope="col" style="width: 90%;">Link</th>
88+
<th scope="col" style="width: 90%;">File</th>
8889
<th title="You can hover over entries to learn more about their current status" style="cursor: help;" scope="col">Hover for more</th>
89-
9090
</tr>
9191
</thead>
9292
<tbody>
9393
<tr>
94-
<td title="">{{ url('/.env') }}</td>
95-
<?php if($url1 == '200'){echo "$utrue";} elseif($url1 == '0'){echo "$unull";} else{echo "$ufalse";} ?>
94+
<td title="">{{ base_path(".env") }}</td>
95+
<?php if ($wrt1 > 0) {echo "$wtrue";} else {echo "$wfalse";} ?>
9696
</tr>
9797
<tr>
98-
<td title="">{{ url('/database/database.sqlite') }}</td>
99-
<?php if($url2 == '200'){echo "$utrue";} elseif($url2 == '0'){echo "$unull";} else{echo "$ufalse";} ?>
98+
<td title="">{{ base_path("database/database.sqlite") }}</td>
99+
<?php if ($wrt2 > 0) {echo "$wtrue";} else {echo "$wfalse";} ?>
100100
</tr>
101101
</tbody>
102102
</table>

0 commit comments

Comments
 (0)