Browse Source

Rename bizhi.php to index.php

main
进恩影音工作室 2 years ago committed by GitHub
parent
commit
e74c33a20f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      index.php

2
bizhi.php → index.php

@ -3,4 +3,4 @@ $img_array = glob('bzhi/*.{gif,jpg,png,jpeg,webp,bmp}', GLOB_BRACE); @@ -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)]));
?>
?>
Loading…
Cancel
Save