rabin 2 years ago
parent
commit
c0549d33f2
1 changed files with 2 additions and 2 deletions
  1. 2 2
      lib/Store/Core.php

+ 2 - 2
lib/Store/Core.php

@@ -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);
 						}