From 27a72d10eda3f73b84d3d45a1e90c76567e653fa Mon Sep 17 00:00:00 2001 From: Andrey Kutejko Date: Fri, 19 Apr 2013 22:32:14 +0300 Subject: [PATCH] add uploadTo parameter to file/image field --- ipf/orm/import/schema.php | 1 + ipf/orm/utils.php | 1 + ipf/orm/validator/uploadto.php | 10 ++++++++++ 3 files changed, 12 insertions(+) create mode 100644 ipf/orm/validator/uploadto.php diff --git a/ipf/orm/import/schema.php b/ipf/orm/import/schema.php index 76a9ab3..a4c67c2 100644 --- a/ipf/orm/import/schema.php +++ b/ipf/orm/import/schema.php @@ -543,3 +543,4 @@ class IPF_ORM_Import_Schema } } } + diff --git a/ipf/orm/utils.php b/ipf/orm/utils.php index 72c2a1a..0fa8f93 100644 --- a/ipf/orm/utils.php +++ b/ipf/orm/utils.php @@ -57,6 +57,7 @@ class IPF_ORM_Utils { 'file', 'image', 'html', + 'uploadTo', ); } diff --git a/ipf/orm/validator/uploadto.php b/ipf/orm/validator/uploadto.php new file mode 100644 index 0000000..2a99a68 --- /dev/null +++ b/ipf/orm/validator/uploadto.php @@ -0,0 +1,10 @@ +