|
@@ -228,13 +228,13 @@ class Core
|
|
|
$this->base64 = true;
|
|
|
} elseif (strstr($this->data['file'], 'content,')) {
|
|
|
$file = str_replace('content,', '', $this->data['file']);
|
|
|
- $this->data['cropper'] = true;
|
|
|
+ $this->data['content'] = true;
|
|
|
} else {
|
|
|
$name = urldecode($this->data['file']);
|
|
|
}
|
|
|
|
|
|
$this->data['file'] = array();
|
|
|
- if ((!isset($this->data['cropper'])) && strstr($name, 'http') && !$this->yun) {
|
|
|
+ if (isset($this->data['content']) || (!isset($this->data['cropper']) && strstr($name, 'http') && !$this->yun)) {
|
|
|
$this->base64 = false;
|
|
|
|
|
|
$this->root();
|