• Hi
    I have seen the topic where someone wanted to whitelist php files, I thought I was having a blacklist issue with pptx/ppt files, so I followed the advice and edited the functions file:
    global $wfu_extension_blacklist;
    if ( isset($wfu_extension_blacklist[“pptx”]) ) unset($wfu_extension_blacklist[“pptx”]);

    Thing is some pptx files are allowed but it rejects others, saying they are not allowed. Could you help?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author nickboss

    (@nickboss)

    Hi, ppt and pptx files are allowed by default, so you can remove the lines from functions.php.

    Maybe some uploaded files have dots (.) in their filename which is not allowed by default. You can disable this restriction by adding the following to functions.php:

    if ( isset($GLOBALS["WFU_GLOBALS"]["WFU_WILDCARD_ASTERISK_MODE"]) ) $GLOBALS["WFU_GLOBALS"]["WFU_WILDCARD_ASTERISK_MODE"][3] = "loose";

    Regards

    Nickolas

Viewing 1 replies (of 1 total)
  • The topic ‘sometimes rejects pptx/ppt files’ is closed to new replies.