meenie / munee

Munee: Standalone PHP 5.3 Asset Optimisation & Manipulation
https://munee.herokuapp.com/
MIT License
833 stars 92 forks source link

Bug Fix for Apache 2.x user running mod_vhost_alias #2

Closed aaronweatherall closed 11 years ago

aaronweatherall commented 11 years ago

Replaced $_SERVER['DOCUMENT_ROOT'] with str_replace($_SERVER['SCRIPT_NAME'], '', $_SERVER['SCRIPT_FILENAME']) to fix bug with vhost_alias in Apache 2.x