Closed (fixed)
Project:
Javascript Aggregator
Version:
5.x-1.5
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Dec 2008 at 02:18 UTC
Updated:
23 Dec 2008 at 07:42 UTC
When you include a file you should give it a proper path like this:
include_once(drupal_get_path('module', 'javascript_aggregator') .'/jsmin.php');
If you are not using open_basedir you may not notice this problem. open_basedir is very common, as it should be, so it's important that modules give proper path for included files.
I have attached a patch for this fix.
| Comment | File | Size | Author |
|---|---|---|---|
| javascript_aggregator_open_basedir.patch | 722 bytes | frjo |
Comments
Comment #1
robloachThanks a lot! http://drupal.org/cvs?commit=157801