webapp/public/image.php
2021-08-07 13:37:01 +03:00

12 lines
209 B
PHP
Executable File

<?php
require_once('../library/icon.php');
if (isset($_GET['hash'])) {
$icon = new Icon();
header("Content-Type: image/jpeg");
echo $icon->generateImageResource(md5($_GET['hash']), 60, 60, false);
}