jinlin
2024-10-15 9f401fc426b8a559f595ab49bc306e94c1d31ad8
web/public/SVGOrigin/Method-Draw-master/editor/extensions/fileopen.php
@@ -11,15 +11,15 @@
 */
  // Very minimal PHP file, all we do is Base64 encode the uploaded file and
  // return it to the editor
  $file = $_FILES['svg_file']['tmp_name'];
  $output = file_get_contents($file);
  $type = $_REQUEST['type'];
  $prefix = '';
  // Make Data URL prefix for import image
  if($type == 'import_img') {
    $info = getimagesize($file);