aboutsummaryrefslogtreecommitdiffstats
path: root/addon/java_upload/java_upload.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-01-26 00:34:39 -0800
committerFriendika <info@friendika.com>2011-01-26 00:34:39 -0800
commit2fc89deaeae0341aa12b6b811927e793011055d1 (patch)
tree32673c6b92cbe14f88d955de585ce813988ec5fa /addon/java_upload/java_upload.php
parentabbd498a8b6c92ddcf211a27dd532f2ec6520fe2 (diff)
downloadvolse-hubzilla-2fc89deaeae0341aa12b6b811927e793011055d1.tar.gz
volse-hubzilla-2fc89deaeae0341aa12b6b811927e793011055d1.tar.bz2
volse-hubzilla-2fc89deaeae0341aa12b6b811927e793011055d1.zip
work in progress js_uploader plugin, turn java uploader into plugin - not done yet
Diffstat (limited to 'addon/java_upload/java_upload.php')
-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