From d9bcf68e395d6156645a7974b1a992aa6e6c00aa Mon Sep 17 00:00:00 2001
From: Marius Cramer <m.cramer@pixcept.de>
Date: Mon, 14 Oct 2013 08:57:25 -0400
Subject: [PATCH] Added missing empty directories from svn import

---
 interface/web/admin/lib/module.conf.php |   21 +++++----------------
 1 files changed, 5 insertions(+), 16 deletions(-)

diff --git a/interface/web/admin/lib/module.conf.php b/interface/web/admin/lib/module.conf.php
index 3c564d0..92e1979 100644
--- a/interface/web/admin/lib/module.conf.php
+++ b/interface/web/admin/lib/module.conf.php
@@ -47,6 +47,11 @@
                     'target' 	=> 'content',
                     'link'	=> 'admin/server_php_list.php',
                     'html_id'   => 'server_php_list');
+					
+$items[] = array(   'title' 	=> 'Directive Snippets',
+                    'target' 	=> 'content',
+                    'link'	=> 'admin/directive_snippets_list.php',
+                    'html_id'   => 'directive_snippets_list');
 
 $items[] = array(   'title' 	=> 'Firewall',
                     'target' 	=> 'content',
@@ -77,22 +82,6 @@
                     'target' 	=> 'content',
                     'link'	=> 'admin/system_config_edit.php?id=1',
                     'html_id'   => 'interface_config');
-
-//**** Load the settings pages of all installed themes
-$menu_dir = ISPC_WEB_PATH.'/admin/lib/interface.d';
-
-if (is_dir($menu_dir)) {
-    if ($dh = opendir($menu_dir)) {
-        //** Go through all files in the menu dir
-        while (($file = readdir($dh)) !== false) {
-            if ($file != '.' && $file != '..' && substr($file, -9, 9) == '.menu.php') {
-                include_once($menu_dir . '/' . $file);
-            }
-        }
-    }
-}
-
-include_once(ISPC_WEB_PATH.'/tools/lib/interface.d/' . $_SESSION['s']['user']['app_theme'] . '.menu.php');
 
 $module['nav'][] = array(   'title'     => 'Interface',
                             'open'      => "1",

--
Gitblit v1.9.1