Plugin Directory

Changeset 3417773


Ignore:
Timestamp:
12/11/2025 10:10:49 PM (2 months ago)
Author:
adegans
Message:

Quick fix to add missing folder

Location:
adrotate
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • adrotate/tags/5.17.1/adrotate-setup.php

    r3417666 r3417773  
    776776        update_option('adrotate_config', $config407);
    777777
     778        if(!is_dir(WP_CONTENT_DIR.'/reports')) {
     779            mkdir(WP_CONTENT_DIR.'/reports', 0755);
     780        }
     781   
    778782        if(!file_exists(WP_CONTENT_DIR.'/reports/index.html')) {
    779783            $fprotect = fopen(WP_CONTENT_DIR.'/reports/index.html', 'wb');
  • adrotate/trunk/adrotate-setup.php

    r3417666 r3417773  
    776776        update_option('adrotate_config', $config407);
    777777
     778        if(!is_dir(WP_CONTENT_DIR.'/reports')) {
     779            mkdir(WP_CONTENT_DIR.'/reports', 0755);
     780        }
     781   
    778782        if(!file_exists(WP_CONTENT_DIR.'/reports/index.html')) {
    779783            $fprotect = fopen(WP_CONTENT_DIR.'/reports/index.html', 'wb');
Note: See TracChangeset for help on using the changeset viewer.