summaryrefslogtreecommitdiff
path: root/app/frontend/components/SafeActiveFileUpload.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/frontend/components/SafeActiveFileUpload.php')
-rw-r--r--app/frontend/components/SafeActiveFileUpload.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/app/frontend/components/SafeActiveFileUpload.php b/app/frontend/components/SafeActiveFileUpload.php
new file mode 100644
index 0000000..69bffab
--- /dev/null
+++ b/app/frontend/components/SafeActiveFileUpload.php
@@ -0,0 +1,13 @@
+<?php
+
+Prado::using('System.Web.UI.ActiveControls.TActiveFileUpload');
+
+Prado::using('Application.components.FileUploadSecureMethods');
+
+class SafeActiveFileUpload extends TActiveFileUpload {
+
+ use FileUploadSecureMethods;
+
+}
+
+?>