Rename bizhi.php to index.php

This commit is contained in:
进恩影音工作室
2023-10-25 00:09:54 +08:00
committed by GitHub
parent 9e45d7efe9
commit e74c33a20f
+1 -1
View File
@@ -3,4 +3,4 @@ $img_array = glob('bzhi/*.{gif,jpg,png,jpeg,webp,bmp}', GLOB_BRACE);
if(count($img_array) == 0) die('没找到图片文件。请先上传一些图片到 '.dirname(__FILE__).'/bzhi/ 文件夹');
header('Content-Type: image/png');
echo(file_get_contents($img_array[array_rand($img_array)]));
?>
?>