diff options
| author | Juuso Lapinlampi <wub@partyvan.eu> | 2016-05-25 05:15:11 +0200 |
|---|---|---|
| committer | Juuso Lapinlampi <wub@partyvan.eu> | 2016-05-25 05:15:11 +0200 |
| commit | 52a6916abe3a9fe74c4d86bee5536557c7a6fa5d (patch) | |
| tree | 5f835ab56b22623532408f6dd243f099fae97a84 /static/upload.php | |
| parent | c5c588311bf6da7979a67e405563c3d2fba95094 (diff) | |
| parent | 4606553f38909b483bc06674f9558ede1a9ff1f6 (diff) | |
Merge branch 'wub/php-improve-comments'
- Extend and improve PHP code comments (PHPDoc)
- Add Pantsu.cat copyright year 2016 for recent change
- UploadedFile: Fix typo SHA1 to SHA-1
- Response: Clarify what http_response_code(200); is
Reviewed-by: Austin Gillmann <alucard@cuntflaps.me>
Diffstat (limited to 'static/upload.php')
| -rw-r--r-- | static/upload.php | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/static/upload.php b/static/upload.php index 4bee979..b8fb46a 100644 --- a/static/upload.php +++ b/static/upload.php @@ -1,10 +1,14 @@ <?php /** - * Copyright (c) 2013, 2014 Peter Lejeck <peter.lejeck@gmail.com> - * Copyright (c) 2013, 2014, 2015 Eric Johansson <neku@pomf.se> - * Copyright (c) 2015 cenci0 <alchimist94@gmail.com> - * Copyright (c) 2015, 2016 the Pantsu.cat developers <hostmaster@pantsu.cat> + * Handles POST uploads, generates filenames, moves files around and commits + * uploaded metadata to database. + * + * @copyright Copyright (c) 2013, 2014 Peter Lejeck <peter.lejeck@gmail.com> + * @copyright Copyright (c) 2013, 2014, 2015 Eric Johansson <neku@pomf.se> + * @copyright Copyright (c) 2015 cenci0 <alchimist94@gmail.com> + * @copyright Copyright (c) 2015, 2016 the Pantsu.cat developers + * <hostmaster@pantsu.cat> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal |
