If you try to use the module without clean_urls enabled, it won't work.
Change line 13, from:

"'". url($path) ."/';"
To
"'". $path ."/';"

It fix whatever the clean_urls are enabled or not.

cheers

Comments

Anonymous’s picture

Simply using $path would not work when Drupal is installed in a sub-directory.
The correct code should probably use base_path() . $path.

Anonymous’s picture

Title: Error when not using clean_urls » Error when not using clean URLs
Assigned: Unassigned »
Status: Active » Fixed

The code has been changed, and committed. Thanks for your report.

Status: Fixed » Closed (fixed)

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