widget/reply: load file upload progress indicator
[minimedit.git] / upload.inc.php
index 6175fe20a685b1b1df707ccba8e74f4bad2564f1..f79600f892de3ee018377e1ab9adf460b3ce3646 100644 (file)
@@ -1,4 +1,6 @@
 <?php
+$Page->api = $_SERVER['HTTP_ACCEPT'] == 'text/plain';
+
 function userupload($input, $target = NULL, $filename = NULL)
 {
        switch ($input['error']) {