Moving notifications attachments one directory deeper. refs #1375
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -83,7 +83,7 @@ function display_page() { | ... | @@ -83,7 +83,7 @@ function display_page() { |
| 83 | $text = $_POST['text']; | 83 | $text = $_POST['text']; |
| 84 | $html = $_POST['html']; | 84 | $html = $_POST['html']; |
| 85 | $attachments = array(); | 85 | $attachments = array(); |
| 86 | $upload_dir = __DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'uploads' . DIRECTORY_SEPARATOR; | 86 | $upload_dir = __DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'uploads' . DIRECTORY_SEPARATOR . 'notifications' . DIRECTORY_SEPARATOR; |
| 87 | 87 | ||
| 88 | fixFilesArray($_FILES['attachment']); | 88 | fixFilesArray($_FILES['attachment']); |
| 89 | 89 | ... | ... |
-
Please register or sign in to post a comment