summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Johansson (neku) <neku@pomf.se>2015-08-15 13:51:26 +0200
committerEric Johansson (neku) <neku@pomf.se>2015-08-15 13:51:26 +0200
commiteedcb41ddd5c1c77eeade5278b60b605b4a0561e (patch)
treedb2f2d6defe2671ce4f4453b4d7fa5cde1d1b027
parent6174de88e27cffbdd978b3b389d2d4762c165a34 (diff)
Update upload.php
-rw-r--r--static/upload.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/static/upload.php b/static/upload.php
index 4a209f3..8aac02c 100644
--- a/static/upload.php
+++ b/static/upload.php
@@ -86,7 +86,7 @@ function upload_file ($file) {
return array(
'hash' => $file->get_sha1(),
'name' => $file->name,
- 'url' => $result['filename'],
+ 'url' => POMF_URL . $result['filename'],
'size' => $file->size
);
}