Changeset 587310
- Timestamp:
- 08/19/2012 05:20:36 AM (14 years ago)
- Location:
- 6scan-protection/trunk
- Files:
-
- 2 edited
-
admin/includes/common.php (modified) (4 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
6scan-protection/trunk/admin/includes/common.php
r584844 r587310 4 4 die( 'No direct access allowed' ); 5 5 6 define ( 'SIXSCAN_VERSION' , '2.2.8. 0' );6 define ( 'SIXSCAN_VERSION' , '2.2.8.2' ); 7 7 define ( 'SIXSCAN_HTACCESS_VERSION' , '1' ); 8 8 … … 131 131 132 132 global $wp_filesystem; 133 return $wp_filesystem->find_folder( SIXSCAN_HTACCESS_6SCAN);133 return untrailingslashit ( $wp_filesystem->find_folder( SIXSCAN_HTACCESS_6SCAN ) ); 134 134 } 135 135 … … 141 141 142 142 global $wp_filesystem; 143 return $wp_filesystem->find_folder( SIXSCAN_SIGNATURE_SRC);143 return untrailingslashit( $wp_filesystem->find_folder( SIXSCAN_SIGNATURE_SRC ) ); 144 144 } 145 145 … … 150 150 151 151 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 ) ); 153 153 } 154 154 define( 'SIXSCAN_ANALYZER_LOG_FILEPATH', SIXSCAN_PLUGIN_DIR . SIXSCAN_SECURITY_LOG_FILENAME ); -
6scan-protection/trunk/readme.txt
r580294 r587310 291 291 * Solved permission issues, while changing .htaccess. There could be an error, of wp_filesystem was initialized to other than 'direct'. 292 292 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 293 296 == Upgrade Notice == 294 297
Note: See TracChangeset
for help on using the changeset viewer.