summaryrefslogtreecommitdiff
path: root/app/php/components/SafeActiveFileUpload.php
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2016-04-25 11:40:28 +0200
committeremkael <emkael@tlen.pl>2016-04-25 11:40:28 +0200
commit050c6cfd0e75249ae7b7dad3f8ec6eed6be50102 (patch)
treedb6076f9edeccf9c2a867e87a42ff6f756f1603c /app/php/components/SafeActiveFileUpload.php
parentdd5aaa4db1e8758652586aa82f21bf631ce20bcc (diff)
* separating safer file upload trait to its own file
Diffstat (limited to 'app/php/components/SafeActiveFileUpload.php')
-rw-r--r--app/php/components/SafeActiveFileUpload.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/php/components/SafeActiveFileUpload.php b/app/php/components/SafeActiveFileUpload.php
index 9b8e2a8..0c3335c 100644
--- a/app/php/components/SafeActiveFileUpload.php
+++ b/app/php/components/SafeActiveFileUpload.php
@@ -1,11 +1,11 @@
<?php
Prado::using('System.Web.UI.ActiveControls.TActiveFileUpload');
-Prado::using('Application.components.SafeFileUpload');
+Prado::using('Application.components.SafeFileUploadMethods');
class SafeActiveFileUpload extends TActiveFileUpload {
- use MimeTypeCheckForFileUpload;
+ use SafeFileUploadMethods;
}