Plugin Directory

Changeset 2662125


Ignore:
Timestamp:
01/23/2022 08:37:41 AM (4 years ago)
Author:
nigro.simone
Message:

Fix mkdir

File:
1 edited

Legend:

Unmodified
Added
Removed
  • speed-up-page-cache/trunk/include/cache-manager.php

    r2252361 r2662125  
    9292        // Make sure we can read/write files to cache dir
    9393        if ( !is_dir( $path ) ) {
    94             if ( !@mkdir( $path, 0777, true ) ) {
     94            if ( !wp_mkdir_p( $path ) ) {
    9595                return $buffer;
    9696            }
Note: See TracChangeset for help on using the changeset viewer.