added debug card

This commit is contained in:
Jesse James Isler 2022-03-28 15:10:12 +02:00
parent 9b85d66bff
commit 1bbea67d1e

View File

@ -48,7 +48,6 @@
$language = $defaultlanguage; $language = $defaultlanguage;
} }
#Get all files from the language folder #Get all files from the language folder
$files = glob("roles/'.$language.'/*.php"); $files = glob("roles/'.$language.'/*.php");
@ -106,6 +105,20 @@ if ($count%2 != 1) echo "</div>";
?> ?>
</div> </div>
<div class="row">
<div class="col s12">
<div class="card blue-grey darken-1">
<div class="card-content white-text">
<span class="card-title">DEBUG INFO</span>
<?php
echo 'Filename: '.$filename
echo 'Language: '.$language
echo 'Filesystem: '.$files
?>
</div>
</div>
</div>
</div>
<!-- Start Tab init --> <!-- Start Tab init -->
<script> <script>