Closed sil3ntboy closed 10 years ago
Awesome, thanks Mike. I'll make sure to test and implement this in the next iteration.
I took care of that issue when I pushed some more changes tonight, Mike. Thanks for checking that out and the heads up.
No problem, I'm glad that I could help ;-)
Hi,
Yesterday I used ImageCache class to cache some images on my website. I noticed, that when
$_SERVER['DOCUMENT_ROOT'] = '/'
, then solution presented currently in ImageCache.php is going to replace all occurences of slash, which results in incorrect source string.For example, if resulting string should be:
/path/to/img
, then after using makesource function, we've got:pathtoimg
.I've done some workaround for it, which works for me:
Best regards, Mike