5
1
Fork 0
mirror of https://github.com/Anvilcraft/jensmemes synced 2024-11-13 21:41:27 +01:00
jensmemes/website/randomapi.php
2020-06-27 12:44:26 +02:00

7 lines
148 B
PHP

<?php
$files = glob("images/*/*");
$random = rand(0, count($files) - 1);
$file = $files[$random];
echo "https://jensmemes.tilera.xyz/" . $file;
?>