diff --git a/bizhi.php b/index.php similarity index 97% rename from bizhi.php rename to index.php index 261e897..2c4aa88 100644 --- a/bizhi.php +++ b/index.php @@ -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)])); -?> \ No newline at end of file +?>