fix

parent 6519cc9d
...@@ -39,9 +39,9 @@ class FileUploadBehavior extends Behavior ...@@ -39,9 +39,9 @@ class FileUploadBehavior extends Behavior
private function uploadFile() private function uploadFile()
{ {
if(!file_exists($this->getAbsolutePath())) if(!file_exists($this->getAbsolutePath() . $this->folder))
{ {
mkdir($this->getAbsolutePath(), 0777, true); mkdir($this->getAbsolutePath() . $this->folder, 0777, true);
} }
$field = $this->field; $field = $this->field;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment