|
@@ -266,7 +266,7 @@ class Core
|
|
|
$name = str_replace('.webp', '.jpg', $name);
|
|
|
}
|
|
|
if (!isset($file)) {
|
|
|
- $file = Dever::curl($name);
|
|
|
+ $file = Dever::curl($name, false, 'get', false, false, false, false, false, false);
|
|
|
}
|
|
|
|
|
|
if ($this->ext != '.mp4' && stristr($file, 'webp')) {
|
|
@@ -318,7 +318,7 @@ class Core
|
|
|
$this->path();
|
|
|
$file = Dever::path($this->base . $this->data['key'] . $this->path, $filename);
|
|
|
if (!is_file($file)) {
|
|
|
- $content = Dever::curl($name);
|
|
|
+ $content = Dever::curl($name, false, 'get', false, false, false, false, false, false);
|
|
|
file_put_contents($file, $content);
|
|
|
}
|
|
|
|