aboutsummaryrefslogtreecommitdiffstats
path: root/addon/java_upload/java_upload.php
diff options
context:
space:
mode:
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