Explorar o código

[fix] add default image to index.php

Steven Yan %!s(int64=3) %!d(string=hai) anos
pai
achega
0f8b84e409
Modificáronse 2 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      api/bing/index.php
  2. BIN=BIN
      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);
     }
 }
-?>

BIN=BIN
api/bing/windows-10-abstract-4k.jpg