Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Tenzing
/
Tz Tools
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
67cef6d7
authored
2011-11-14 11:33:21 -0500
by
Marty Penner
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Moving notifications attachments one directory deeper. refs #1375
1 parent
1a872222
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
com/Notifications/Admin.php
com/Notifications/Admin.php
View file @
67cef6d
...
...
@@ -83,7 +83,7 @@ function display_page() {
$text
=
$_POST
[
'text'
];
$html
=
$_POST
[
'html'
];
$attachments
=
array
();
$upload_dir
=
__DIR__
.
DIRECTORY_SEPARATOR
.
'..'
.
DIRECTORY_SEPARATOR
.
'..'
.
DIRECTORY_SEPARATOR
.
'..'
.
DIRECTORY_SEPARATOR
.
'uploads'
.
DIRECTORY_SEPARATOR
;
$upload_dir
=
__DIR__
.
DIRECTORY_SEPARATOR
.
'..'
.
DIRECTORY_SEPARATOR
.
'..'
.
DIRECTORY_SEPARATOR
.
'..'
.
DIRECTORY_SEPARATOR
.
'uploads'
.
DIRECTORY_SEPARATOR
.
'notifications'
.
DIRECTORY_SEPARATOR
;
fixFilesArray
(
$_FILES
[
'attachment'
]);
...
...
Please
register
or
sign in
to post a comment