5
1
Fork 0
mirror of https://github.com/Anvilcraft/jensmemes synced 2024-09-25 02:38:51 +02:00
jensmemes/website/randomapi.php
2020-07-22 15:27:17 +02:00

6 lines
No EOL
146 B
PHP

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