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