Skip to content
Snippets Groups Projects
Commit afa28e11 authored by Stephen Palmstrom's avatar Stephen Palmstrom
Browse files

Correct testing error.

parent b4cd0138
No related branches found
No related tags found
1 merge request!9787Resolve issue 3479427 - bootstrap barrio issue under Windows
......@@ -94,7 +94,7 @@ protected function ensureDirectory($directory, $mode = 0777) {
*/
protected function createDirectory($directory, $mode = 0777) {
// If running under Windows replace illegal characters with _.
$directory = $this->sanitizeFilename($directory);
$directory = Drupal\Component\PhpStorage\MTimeProtectedFastFileStorage::sanitizeFilename($directory);
// If the directory exists already, there's nothing to do.
if (is_dir($directory)) {
return TRUE;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment