start implementing DB check view
This commit is contained in:
@@ -1,12 +1,29 @@
|
|||||||
<div class="overflow-x-auto">
|
<div class="overflow-x-auto">
|
||||||
<table class="table table-zebra">
|
<table class="table table-zebra">
|
||||||
<tbody>
|
<tbody>
|
||||||
<!-- row 1 -->
|
|
||||||
<tr>
|
<tr>
|
||||||
<th class="w-60">PHP Version</th>
|
<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>
|
</tr>
|
||||||
<!-- row 2 -->
|
|
||||||
<tr>
|
<tr>
|
||||||
<th class="align-top">Installed extensions</th>
|
<th class="align-top">Installed extensions</th>
|
||||||
<td>
|
<td>
|
||||||
|
|||||||
Reference in New Issue
Block a user