phpldapadmin/resources/views/debug.blade.php
Deon George b3ccb0cecc
All checks were successful
Create Docker Image / Test Application (x86_64) (push) Successful in 1m7s
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 2m11s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 5m11s
Create Docker Image / Final Docker Image Manifest (push) Successful in 13s
Add our request()->root() to our debug page
2025-03-16 09:03:02 +11:00

52 lines
1.0 KiB
PHP

<div class="card card-solid">
<div class="card-body">
<div class="row">
<div class="col-12">
<h3 class="d-inline-block">DEBUG Information</h3>
<table class="table">
<thead>
<tr>
<th>Setting</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<!-- User Logged In -->
<tr>
<td>User</td>
<td>{{ $user }}</td>
</tr>
<!-- Base DNs -->
<tr>
<td>BaseDN(s)</td>
<td>
<table class="table table-sm table-borderless">
@foreach(\App\Classes\LDAP\Server::baseDNs()->sort(function($item) { return $item->sortKey; }) as $item)
<tr>
<td class="ps-0">{{ $item->getDn() }}</td>
</tr>
@endforeach
</table>
</td>
</tr>
<!-- Schema DN -->
<tr>
<td>Schema DN</td>
<td>{{ \App\Classes\LDAP\Server::schemaDN() }}</td>
</tr>
<!-- Schema DN -->
<tr>
<td>Root URL</td>
<td>{{ request()->root() }}</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>