fixed path
Showing
1 changed file
with
2 additions
and
1 deletions
| ... | @@ -80,7 +80,8 @@ function display_page() | ... | @@ -80,7 +80,8 @@ function display_page() |
| 80 | $text = $_POST[$lang.'_text']; | 80 | $text = $_POST[$lang.'_text']; |
| 81 | $html = $_POST[$lang.'_html']; | 81 | $html = $_POST[$lang.'_html']; |
| 82 | $attachments = []; | 82 | $attachments = []; |
| 83 | $uploadDir = wp_upload_dir()['basedir'].'/notifications/'; | 83 | $upload_dir = wp_upload_dir(); |
| 84 | $uploadDir = $upload_dir['basedir'].'/notifications/'; | ||
| 84 | 85 | ||
| 85 | fixFilesArray($_FILES[$lang.'_attachment']); | 86 | fixFilesArray($_FILES[$lang.'_attachment']); |
| 86 | 87 | ... | ... |
-
Please register or sign in to post a comment