jalmenarez / minify

Automatically exported from code.google.com/p/minify
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

R302 change break CSS image paths on Litespeed #98

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Minify version: R302
PHP version: 5.2.?

What steps will reproduce the problem?
1.using Minify to compress CSS with image path rewrites / symlinked

Expected output:
/image/path/to/image.jpg

Actual output:
//image/path/to/image.jpg

Did any unit tests FAIL?
not tested

Please provide any additional information below.
Reverting this change
$link = str_replace('//', realpath(self::$_docRoot) . '/', $link);

back to 

$link = str_replace('//', realpath(self::$_docRoot), $link);

fixes it

Original issue reported on code.google.com by kris...@fooman.co.nz on 17 Mar 2009 at 11:25

GoogleCodeExporter commented 9 years ago
To what are you setting $min_symlinks in config.php ?

Original comment by mrclay....@gmail.com on 18 Mar 2009 at 1:28

GoogleCodeExporter commented 9 years ago
$min_symlinks=array('//' => '/home/user/path/to/public_html');

Original comment by kris...@fooman.co.nz on 18 Mar 2009 at 1:32