summaryrefslogtreecommitdiff
path: root/static/classes/UploadException.class.php
diff options
context:
space:
mode:
authorJuuso Lapinlampi <wub@partyvan.eu>2016-05-25 05:15:11 +0200
committerJuuso Lapinlampi <wub@partyvan.eu>2016-05-25 05:15:11 +0200
commit52a6916abe3a9fe74c4d86bee5536557c7a6fa5d (patch)
tree5f835ab56b22623532408f6dd243f099fae97a84 /static/classes/UploadException.class.php
parentc5c588311bf6da7979a67e405563c3d2fba95094 (diff)
parent4606553f38909b483bc06674f9558ede1a9ff1f6 (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/classes/UploadException.class.php')
-rwxr-xr-xstatic/classes/UploadException.class.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/static/classes/UploadException.class.php b/static/classes/UploadException.class.php
index dbe47eb..7740ee6 100755
--- a/static/classes/UploadException.class.php
+++ b/static/classes/UploadException.class.php
@@ -1,6 +1,11 @@
<?php
/**
+ * Returns a human readable error description for file upload errors.
+ *
+ * @author Dan Brown <danbrown@php.net>
+ * @author Michiel Thalen
+ * @copyright
* --------------------------------------------------------------------
* The PHP License, version 3.01
* Copyright (c) 1999 - 2014 The PHP Group. All rights reserved.
@@ -71,9 +76,6 @@
* <http://www.zend.com>.
*/
-// Exception class extension from: http://php.net/manual/en/features.file-upload.errors.php#89374
-// Handles files error returning a proper error description
-
class UploadException extends Exception
{
public function __construct($code)