Skip to content

Commit 9250f0b

Browse files
author
Benoit Asselin
committed
0.2.1
1 parent bcc0ae6 commit 9250f0b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

phpminify.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,8 @@ public function minify($filename)
149149
*/
150150
public function fixSlashes($filename)
151151
{
152-
if (DIRECTORY_SEPARATOR == '\\') {
153-
return str_replace('\\', '/', $filename);
152+
if (DIRECTORY_SEPARATOR != '/') {
153+
return str_replace(DIRECTORY_SEPARATOR, '/', $filename);
154154
}
155155
return $filename;
156156
}

0 commit comments

Comments
 (0)