Skip to content

Commit

Permalink
ueditor.php配置改用include引入
Browse files Browse the repository at this point in the history
  • Loading branch information
hbh112233abc committed May 10, 2021
1 parent 16ac212 commit 7eaf5bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config/UeConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function __construct($config = [])
}
$this->config = $userConfig;

$this->ueditor = include_once __DIR__ . '/ueditor.php';
$this->ueditor = include __DIR__ . '/ueditor.php';
//默认最大图片限制
$defaultMaxImageSize = $this->config['max_image_size'];
$this->ueditor['imageMaxSize'] = $defaultMaxImageSize;
Expand Down

0 comments on commit 7eaf5bc

Please sign in to comment.