[sam] Patch to respect config/menu.php

John Dalbec jpdalbec at ysu.edu
Wed Dec 3 07:49:23 PST 2003


--- SAM.php     Wed Dec  3 10:46:18 2003
+++ sam/lib/SAM.php     Wed May 28 22:33:28 2003
@@ -156,18 +156,6 @@
      {
          global $notification, $conf, $registry;
          require_once HORDE_BASE . '/lib/Menu.php';
-
-        /* Check for additional site-specific menu items (in config/menu.php). */
-        $additional_items = '';
-        if (@is_readable(SAM_BASE . '/config/menu.php')) {
-            include_once SAM_BASE . '/config/menu.php';
-            if (isset($_menu) && is_array($_menu)) {
-                foreach ($_menu as $item) {
-                    $additional_items .= Menu::customItem($item);
-                }
-            }
-        }
-
          require SAM_TEMPLATES . '/menu/menu.inc';

          // $notification->notify();



More information about the sam mailing list