rebuild menu each page call
rayvaughn - August 22, 2008 - 11:17
| Project: | Cache Disable |
| Version: | 5.x-1.0 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Description
I found this module useful for development. This additional function forces a rebuild of the menu each page view which is useful for viewing menu changes while developing modules:
function cache_disable_menu($may_cache) {
if (!$may_cache) {
menu_rebuild();
}
}best regards
Marcus
brightonart.co.uk
