Support » Plugin: WP OPcache » RecursiveDirectoryIterator does not skip dotfiles

  • Resolved arbram

    (@arbram)


    Awesome plugin thank you

    The plugin is picking up my protected .git folder which throws a permissions error and gives a WSoD

    PHP 5.6.20-0+deb8u1 with OpCache 7.0.6-dev

    		
    $di = new RecursiveDirectoryIterator( ABSPATH, RecursiveDirectoryIterator::SKIP_DOTS );
    

    Thanks for any assistance

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author nierdz

    (@mnttech)

    Good find!
    I will make a fix to only get php files.

    Plugin Author nierdz

    (@mnttech)

    Can you try last version 2.4.3 and let me know if it solves your problem ?

    arbram

    (@arbram)

    Yes it works as supersmooth and that was superfast

    Thank you very much Kevin

    Plugin Author nierdz

    (@mnttech)

    You’re welcome.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘RecursiveDirectoryIterator does not skip dotfiles’ is closed to new replies.