I can not upload files SWF

  • Author
    Posts
  • #14302
    Anushka

    I can not upload files .SWF to the library. I get error: Permission denied.

    I found the code on the Internet (must be put in functions.php):
    add_filter(‘upload_mimes’, ‘mqw_mas_extensiones’);
    function mqw_mas_extensiones ( $existing_mimes=array() ) {
    // Agregamos nuevas extensiones al array al lado de su MIME type:
    $existing_mimes[‘swf’] = ‘application/x-shockwave-flash‘;
    $existing_mimes[‘mp3’] = ‘audio/mpeg3‘;
    //Agregamos las que necesitemos y luego retornamos el array
    return $existing_mimes;
    }

    BUT DOES NOT WORK

    #14396
    Zed
    Cryout Creations mastermind

    This is WordPress related, not theme. You’ll probably get better answers on the WordPress forums.


    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘I can not upload files SWF’ is closed to new replies.