Plugin Directory

Changeset 587310


Ignore:
Timestamp:
08/19/2012 05:20:36 AM (14 years ago)
Author:
6Scan
Message:

Bufixes in path references, while using wp_filesystem of 'ftpext'

Location:
6scan-protection/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • 6scan-protection/trunk/admin/includes/common.php

    r584844 r587310  
    44    die( 'No direct access allowed' );
    55
    6 define ( 'SIXSCAN_VERSION' ,                            '2.2.8.0' );
     6define ( 'SIXSCAN_VERSION' ,                            '2.2.8.2' );
    77define ( 'SIXSCAN_HTACCESS_VERSION' ,                   '1' );
    88
     
    131131
    132132        global $wp_filesystem;
    133         return $wp_filesystem->find_folder( SIXSCAN_HTACCESS_6SCAN );
     133        return untrailingslashit ( $wp_filesystem->find_folder( SIXSCAN_HTACCESS_6SCAN ) );
    134134    }
    135135
     
    141141       
    142142        global $wp_filesystem;
    143         return $wp_filesystem->find_folder( SIXSCAN_SIGNATURE_SRC );   
     143        return untrailingslashit( $wp_filesystem->find_folder( SIXSCAN_SIGNATURE_SRC ) );   
    144144    }
    145145
     
    150150       
    151151        global $wp_filesystem;
    152         return $wp_filesystem->find_folder( SIXSCAN_HTACCESS_6SCAN_GATE_SOURCE );       
     152        return untrailingslashit( $wp_filesystem->find_folder( SIXSCAN_HTACCESS_6SCAN_GATE_SOURCE ) );     
    153153    }   
    154154    define( 'SIXSCAN_ANALYZER_LOG_FILEPATH',                SIXSCAN_PLUGIN_DIR . SIXSCAN_SECURITY_LOG_FILENAME );   
  • 6scan-protection/trunk/readme.txt

    r580294 r587310  
    291291* Solved permission issues, while changing .htaccess. There could be an error, of wp_filesystem was initialized to other than 'direct'.
    292292
     293= 2.2.8 =
     294* Changed path references. Now the are referenced as $wp_filesystem->abspath() and alike (The ABSPATH define is only used in several 'direct' access parts)
     295
    293296== Upgrade Notice ==
    294297
Note: See TracChangeset for help on using the changeset viewer.