aboutsummaryrefslogtreecommitdiffstats
path: root/addon/java_upload
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-01-24 18:54:32 -0800
committerFriendika <info@friendika.com>2011-01-24 18:54:32 -0800
commit34502f1cde61f031a9303ae09bbd36daa5960164 (patch)
treedce7bf3497b8713c27999d5349eeb5c53753e8ee /addon/java_upload
parentf5674558caf888fc8bdbad5fbb6c9b54868c1bb3 (diff)
downloadvolse-hubzilla-34502f1cde61f031a9303ae09bbd36daa5960164.tar.gz
volse-hubzilla-34502f1cde61f031a9303ae09bbd36daa5960164.tar.bz2
volse-hubzilla-34502f1cde61f031a9303ae09bbd36daa5960164.zip
main plugin files
Diffstat (limited to 'addon/java_upload')
-rw-r--r--addon/java_upload/java_upload.php24
1 files changed, 24 insertions, 0 deletions
diff --git a/addon/java_upload/java_upload.php b/addon/java_upload/java_upload.php
new file mode 100644
index 000000000..92cd5326e
--- /dev/null
+++ b/addon/java_upload/java_upload.php
@@ -0,0 +1,24 @@
+<?php
+
+
+
+
+
+
+function java_upload_photo_post_init(&$a,&$b) {
+
+ if($_POST['partitionCount'])
+ $a->data['java_upload'] = true;
+ else
+ $a->data['java_upload'] = false;
+
+
+}
+
+
+function java_upload_photo_post_end(&$a,&$b) {
+
+ if(x($a->data,'java_upload') && $a->data['java_upload'])
+ killme();
+
+} \ No newline at end of file