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.

CommentFileSizeAuthor
javascript_aggregator_open_basedir.patch722 bytesfrjo

Comments

robloach’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.