diff options
Diffstat (limited to 'static/php/upload.php')
| -rw-r--r-- | static/php/upload.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/static/php/upload.php b/static/php/upload.php index 2889da6..c8082e6 100644 --- a/static/php/upload.php +++ b/static/php/upload.php @@ -110,8 +110,7 @@ function uploadFile($file) $newname = generateName($file); // Store the file's full file path in memory - $uploadDir = POMF_FILES_ROOT; - $uploadFile = $uploadDir . $newname; + $uploadFile = POMF_FILES_ROOT . $newname; // Attempt to move it to the static directory if (!move_uploaded_file($file->tempfile, $uploadFile)) { |
