瀏覽代碼

[fix] add default image to index.php

Steven Yan 3 年之前
父節點
當前提交
0f8b84e409
共有 2 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      api/bing/index.php
  2. 二進制
      api/bing/windows-10-abstract-4k.jpg

+ 1 - 2
api/bing/index.php

@@ -16,7 +16,7 @@ if (!is_file($pathurl)) {
         $imgurl='http://cn.bing.com'.$matches[1].'_1920x1080.jpg';
         copy($imgurl, $pathurl);
     } else {
-        copy('https://dl.ryzenx.com/files/win10pic1.jpg', $pathurl);
+        copy('./windows-10-abstract-4k.jpg', $pathurl);
     }
 }
 if ($pathurl) {
@@ -54,4 +54,3 @@ function deleteDir($path_e) {
         @rmdir($path_e);
     }
 }
-?>

二進制
api/bing/windows-10-abstract-4k.jpg