added debug card
This commit is contained in:
parent
9b85d66bff
commit
1bbea67d1e
15
index.php
15
index.php
@ -48,7 +48,6 @@
|
||||
$language = $defaultlanguage;
|
||||
}
|
||||
|
||||
|
||||
#Get all files from the language folder
|
||||
$files = glob("roles/'.$language.'/*.php");
|
||||
|
||||
@ -106,6 +105,20 @@ if ($count%2 != 1) echo "</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 -->
|
||||
<script>
|
||||
|
Loading…
Reference in New Issue
Block a user