Skip to content

Commit

Permalink
s/backslahses/backslashes (#31949)
Browse files Browse the repository at this point in the history
  • Loading branch information
Phil Taylor committed Jan 12, 2021
1 parent d070a18 commit 019baff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/src/Cache/Storage/FileStorage.php
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,7 @@ protected function _cleanPath($path, $ds = DIRECTORY_SEPARATOR)
return $this->_root;
}

// Remove double slashes and backslahses and convert all slashes and backslashes to DIRECTORY_SEPARATOR
// Remove double slashes and backslashes and convert all slashes and backslashes to DIRECTORY_SEPARATOR
$path = preg_replace('#[/\\\\]+#', $ds, $path);

return $path;
Expand Down

0 comments on commit 019baff

Please sign in to comment.