Use $jsmin_file_path instead of $jsmin_file_name
Kars-T - July 30, 2009 - 11:15
| Project: | Javascript Aggregator |
| Version: | 6.x-1.3 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Jump to:
Description
Hi,
I include my modules with symlinks into my many drupal installations. Sadly I get an openbaseddir restriction if I try to run gz compression as the modules tries to use the path /js/js_24bb...7a.jsmin.js.gz which would be a root path.
If you add the absolute path the module runs fine again. This means to use $jsmin_file_path instead of $jsmin_file_name in line 120 and 121.
Please add this small patch to the module :)
Best regards,
Kars-T
| Attachment | Size |
|---|---|
| javascript_aggregator.module.patch | 1002 bytes |

#1
While rearranging the code for the last release i tried this among other changes, but i ran into problems with some of my installations.
I will try out the patch.
But I would like to have some more positive feedback from the community before including it for the next release.