| @@ 130-133 (lines=4) @@ | ||
| 127 | throw new \Jaxon\Exception\Error($this->trans('errors.upload.access')); |
|
| 128 | } |
|
| 129 | $sUploadDir .= $this->sUploadSubdir; |
|
| 130 | if(!file_exists($sUploadDir) && !@mkdir($sUploadDir)) |
|
| 131 | { |
|
| 132 | throw new \Jaxon\Exception\Error($this->trans('errors.upload.access')); |
|
| 133 | } |
|
| 134 | return $sUploadDir; |
|
| 135 | } |
|
| 136 | ||
| @@ 153-156 (lines=4) @@ | ||
| 150 | throw new \Jaxon\Exception\Error($this->trans('errors.upload.access')); |
|
| 151 | } |
|
| 152 | $sUploadDir .= 'tmp' . DIRECTORY_SEPARATOR; |
|
| 153 | if(!file_exists($sUploadDir) && !@mkdir($sUploadDir)) |
|
| 154 | { |
|
| 155 | throw new \Jaxon\Exception\Error($this->trans('errors.upload.access')); |
|
| 156 | } |
|
| 157 | return $sUploadDir; |
|
| 158 | } |
|
| 159 | ||