fix downloads

This commit is contained in:
Li 2022-09-22 23:45:19 +00:00
parent 5c768e7a03
commit 8a0632b298
1 changed files with 343 additions and 343 deletions

View File

@ -328,7 +328,7 @@ function getIcon(string $file)
{
$dirlist = glob($type.'/*');
foreach ($dirlist as &$path) { ?>
<a href="'.$path.'" class="devtool" title="<?php echo basename($path) ?>">
<a href="<?php echo $path ?>" class="devtool" title="<?php echo basename($path) ?>">
<img src="<?php echo getIcon($path) ?>" width="128" height="128" class="bubble">
<span id="textContent">
<?php echo getName(pathinfo(basename($path), PATHINFO_FILENAME)) ?>