diff options
Diffstat (limited to 'app/php/components/FileUploadSecureFileSize.php')
-rw-r--r-- | app/php/components/FileUploadSecureFileSize.php | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/app/php/components/FileUploadSecureFileSize.php b/app/php/components/FileUploadSecureFileSize.php deleted file mode 100644 index 1e60c9a..0000000 --- a/app/php/components/FileUploadSecureFileSize.php +++ /dev/null @@ -1,18 +0,0 @@ -<?php - -Prado::using('Application.components.FileUploadSecureOption'); - -trait FileUploadSecureFileSize { - - use FileUploadSecureOption; - - public function getFileSize() { - if ($this->getIsSecure()) { - return filesize($this->getLocalName()); - } - return parent::getFileSize(); - } - -} - -?> |