diff --git a/UEditorAction.php b/UEditorAction.php index 1b058e0..efbf1e1 100644 --- a/UEditorAction.php +++ b/UEditorAction.php @@ -219,6 +219,7 @@ protected function actionCrawler() { /* 上传配置 */ $config = array( + "pathRoot" => ArrayHelper::getValue($this->config, "catcherRoot", $_SERVER['DOCUMENT_ROOT']), "pathFormat" => $this->config['catcherPathFormat'], "maxSize" => $this->config['catcherMaxSize'], "allowFiles" => $this->config['catcherAllowFiles'], @@ -282,4 +283,4 @@ protected function getfiles($path, $allowFiles, &$files = array()) } return $files; } -} \ No newline at end of file +}