summaryrefslogtreecommitdiff
path: root/app/php/components/SafeActiveFileUpload.php
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2016-04-25 12:13:33 +0200
committeremkael <emkael@tlen.pl>2016-04-25 12:13:33 +0200
commit0dda5b8c12573779a1e2b7e820284dafe04956e3 (patch)
treeb0b238b79387138c057d544d48ed1e4b3e64c9ba /app/php/components/SafeActiveFileUpload.php
parent050c6cfd0e75249ae7b7dad3f8ec6eed6be50102 (diff)
* splitting traits for safer file upload components
Diffstat (limited to 'app/php/components/SafeActiveFileUpload.php')
-rw-r--r--app/php/components/SafeActiveFileUpload.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/php/components/SafeActiveFileUpload.php b/app/php/components/SafeActiveFileUpload.php
index 0c3335c..69bffab 100644
--- a/app/php/components/SafeActiveFileUpload.php
+++ b/app/php/components/SafeActiveFileUpload.php
@@ -1,11 +1,12 @@
<?php
Prado::using('System.Web.UI.ActiveControls.TActiveFileUpload');
-Prado::using('Application.components.SafeFileUploadMethods');
+
+Prado::using('Application.components.FileUploadSecureMethods');
class SafeActiveFileUpload extends TActiveFileUpload {
- use SafeFileUploadMethods;
+ use FileUploadSecureMethods;
}