diff options
| author | pantsucat <contact@pantsu.cat> | 2015-09-17 13:04:18 +0200 |
|---|---|---|
| committer | pantsucat <contact@pantsu.cat> | 2015-09-17 13:04:18 +0200 |
| commit | bbcffe8d745937677352edf25e6a250ca8fd507b (patch) | |
| tree | 03b254d99c45b0e8eeabea54f31a903ddd7f76de /static/upload.php | |
| parent | 7b11fd88b488fd70be76129c1c57e999f00a2567 (diff) | |
Fix to work with sharex
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 0504e54..4dc45a3 100644 --- a/static/upload.php +++ b/static/upload.php @@ -97,7 +97,7 @@ function upload_file($file) return array( 'hash' => $file->get_sha1(), 'name' => $file->name, - 'url' => POMF_URL.$result['filename'], + 'url' => $result['filename'], 'size' => $file->size, ); } |
