From 02ebf095427a3a86c0102ac444fb38944f97c026 Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Fri, 9 Jan 2015 21:44:31 +0000 Subject: [PATCH] Finish removing the paths for the main menus. --- app/dialplan/app_menu.php | 2 +- core/apps/app_menu.php | 8 +------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/app/dialplan/app_menu.php b/app/dialplan/app_menu.php index 2f64426fc5..ded886e35a 100644 --- a/app/dialplan/app_menu.php +++ b/app/dialplan/app_menu.php @@ -14,7 +14,7 @@ $apps[$x]['menu'][0]['uuid'] = "b94e8bd9-9eb5-e427-9c26-ff7a6c21552a"; $apps[$x]['menu'][0]['parent_uuid'] = ""; $apps[$x]['menu'][0]['category'] = "internal"; - $apps[$x]['menu'][0]['path'] = "/app/dialplan/dialplans.php"; + $apps[$x]['menu'][0]['path'] = ""; $apps[$x]['menu'][0]['order'] = "15"; $apps[$x]['menu'][0]['groups'][] = "admin"; $apps[$x]['menu'][0]['groups'][] = "superadmin"; diff --git a/core/apps/app_menu.php b/core/apps/app_menu.php index 0b312b313c..56cf3ed4d1 100644 --- a/core/apps/app_menu.php +++ b/core/apps/app_menu.php @@ -13,12 +13,7 @@ $apps[$x]['menu'][0]['uuid'] = "fd29e39c-c936-f5fc-8e2b-611681b266b5"; $apps[$x]['menu'][0]['parent_uuid'] = ""; $apps[$x]['menu'][0]['category'] = "internal"; - if (file_exists($_SERVER["DOCUMENT_ROOT"].PROJECT_PATH.'/app/xml_cdr')) { - $apps[$x]['menu'][0]['path'] = "/app/xml_cdr/xml_cdr.php"; - } - else { - $apps[$x]['menu'][0]['path'] = PROJECT_PATH; - } + $apps[$x]['menu'][0]['path'] = ""; $apps[$x]['menu'][0]['order'] = "20"; $apps[$x]['menu'][0]['groups'][] = "user"; $apps[$x]['menu'][0]['groups'][] = "admin"; @@ -40,5 +35,4 @@ $apps[$x]['menu'][1]['path'] = "/core/apps/apps.php"; $apps[$x]['menu'][1]['groups'][] = "superadmin"; - ?> \ No newline at end of file