95a05800 by Jeff Balicki

fixed path

1 parent f0709f21
...@@ -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
......