Closed (fixed)
Project:
Category
Version:
master
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 Dec 2005 at 20:43 UTC
Updated:
15 Jan 2006 at 01:40 UTC
The category_init() function assumes that the module is installed in the modules/ directory.
This causes errors about not finding category.inc if it is installed in the recommended path of sites/sitename/modules.
It should be as follows:
function category_init() {
include drupal_get_path('module', 'category') . '/category.inc';
}
Comments
Comment #1
Jaza commentedCommitted. Thanks.
Comment #2
(not verified) commented