fixed #1335734: Support sub-directory installations by @joelstein
Changes since 6.x-1.8:
Beta release 1. Please post any bugs to the issue queue.
Ensure the ngp_menu_item_link isn't overriding classes or ids set by other modules, for example the menu attributes module.
Make debug optional