Changeset 26246
- Timestamp:
- 11/18/2013 03:32:47 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/includes/mock-fs.php
r25053 r26246 82 82 */ 83 83 private function locate_parent_node( $path ) { 84 return $this->locate_node( trailingslashit( dirname( $path ) ) ); 84 $dirname = str_replace( '\\', '/', dirname( $path ) ); 85 return $this->locate_node( trailingslashit( $dirname ) ); 85 86 } 86 87 … … 92 93 $parent_node = $this->locate_parent_node( $path ); 93 94 if ( ! $parent_node ) { 94 $this->mkdir( dirname( $path ) ); 95 $dirname = str_replace( '\\', '/', dirname( $path ) ); 96 $this->mkdir( $dirname ); 95 97 $parent_node = $this->locate_parent_node( $path ); 96 98 if ( ! $parent_node )
Note: See TracChangeset
for help on using the changeset viewer.