Browse Source

fix extension to webp

sqliteway
ghost 2 years ago
parent
commit
74578b7aad
  1. 2
      public/image.php

2
public/image.php

@ -16,7 +16,7 @@ if (isset($_GET['q'])) {
if (WEBSITE_IDENTICON_IMAGE_CACHE) { if (WEBSITE_IDENTICON_IMAGE_CACHE) {
$filename = dirname(__FILE__) . '/../storage/cache/' . $hash . '.png'; $filename = dirname(__FILE__) . '/../storage/cache/' . $hash . '.webp';
if (!file_exists($filename)) { if (!file_exists($filename)) {

Loading…
Cancel
Save