Merge branch 'stable'

This commit is contained in:
Dylan K. Taylor
2020-01-11 22:36:57 +00:00
12 changed files with 137 additions and 4 deletions

View File

@@ -73,6 +73,11 @@ final class Filesystem{
}
}
/**
* @param string $path
*
* @return string
*/
public static function cleanPath($path){
$result = str_replace(["\\", ".php", "phar://"], ["/", "", ""], $path);