start implementing DB check view
This commit is contained in:
@@ -1,12 +1,29 @@
|
||||
<div class="overflow-x-auto">
|
||||
<table class="table table-zebra">
|
||||
<tbody>
|
||||
<!-- row 1 -->
|
||||
<tr>
|
||||
<th class="w-60">PHP Version</th>
|
||||
<td><?= phpversion() ?>n</td>
|
||||
<td><?= phpversion() ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class="w-60">Database</th>
|
||||
<td>
|
||||
<?php
|
||||
global $phpb_db;
|
||||
$tables = include __DIR__.'/../../../../../../config/tables.php';
|
||||
foreach ($tables as $table => $structure) :
|
||||
?>
|
||||
<li>
|
||||
<?= phpb_e($table) ?> (<?= phpb_e($phpb_db->tableExists($table) ? 'yes' : 'no') ?>)
|
||||
<ul>
|
||||
<li></li>
|
||||
</ul>
|
||||
</li>
|
||||
<?php
|
||||
endforeach;
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
<!-- row 2 -->
|
||||
<tr>
|
||||
<th class="align-top">Installed extensions</th>
|
||||
<td>
|
||||
|
||||
Reference in New Issue
Block a user