|
@@ -204,7 +204,7 @@ class Core
|
|
|
}
|
|
|
|
|
|
$this->data['file'] = array();
|
|
|
- if (!$this->yun && strstr($name, 'http')) {
|
|
|
+ if (((isset($this->data['cropper']) && !$this->yun) || !isset($this->data['cropper'])) && strstr($name, 'http')) {
|
|
|
$this->base64 = false;
|
|
|
$this->root();
|
|
|
header('Content-type: text/json; charset=utf-8');
|