Changeset View
Changeset View
Standalone View
Standalone View
src/filesystem/Filesystem.php
Context not available. | |||||
// separator, so we don't end up with "path//to///thing.c". | // separator, so we don't end up with "path//to///thing.c". | ||||
$components = preg_replace( | $components = preg_replace( | ||||
'('.preg_quote(DIRECTORY_SEPARATOR).'{2,})', | '('.preg_quote(DIRECTORY_SEPARATOR).'{2,})', | ||||
DIRECTORY_SEPARATOR); | DIRECTORY_SEPARATOR, | ||||
$components); | |||||
return $components; | return $components; | ||||
} | } | ||||
Context not available. |