diff options
| author | Eric Johansson (neku) <neku@pomf.se> | 2015-07-02 21:11:04 +0200 |
|---|---|---|
| committer | Eric Johansson (neku) <neku@pomf.se> | 2015-07-02 21:11:04 +0200 |
| commit | 51438bb7ebc562b7f53f911a0790b21cbf7891bb (patch) | |
| tree | 1566c8a17c1de2c048076f30d87f85be4bc5681a /static/upload.php | |
| parent | 3ffec35e4839069d32dcb60377888d0ab2289023 (diff) | |
| parent | 0b57a76fe439459524b248cabaf8a477b7dcc003 (diff) | |
Merge pull request #36 from v0l/master
Pass back propper url after upload
Diffstat (limited to 'static/upload.php')
| -rw-r--r-- | static/upload.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/static/upload.php b/static/upload.php index 7756e03..4a209f3 100644 --- a/static/upload.php +++ b/static/upload.php @@ -125,7 +125,7 @@ function upload_file ($file) { return array( 'hash' => $file->get_sha1(), 'name' => $file->name, - 'url' => $newname, + 'url' => POMF_URL . $newname, 'size' => $file->size ); } else { |
