Closed (fixed)
Project:
Chaos Tool Suite (ctools)
Version:
7.x-1.x-dev
Component:
Plugins system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Jun 2011 at 00:32 UTC
Updated:
21 Jul 2011 at 17:31 UTC
Ctools_plugin_api_include() will require_once a file that is in $module_path/$file, if it exists. If not, it will check if DRUPAL_ROOT/$file exists, however will mistakenly load $module_path/$file (non-existent file) -- resulting in a fatal error.
This patch will include the intended file.
Now, I don't necessarily think it's a good idea to put your plugins in the Drupal root in the first place, but it looks like that was an intended feature of this function -- despite faulty ;)
| Comment | File | Size | Author |
|---|---|---|---|
| ctools-require-fail.patch | 550 bytes | helior |
Comments
Comment #1
merlinofchaos commentedCommitted! Thanks!