Browse Source

Finish removing the paths for the main menus.

Mark Crane 10 năm trước cách đây
mục cha
commit
1795756822
1 tập tin đã thay đổi với 1 bổ sung7 xóa
  1. 1 7
      core/apps/app_menu.php

+ 1 - 7
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";
 
-
 ?>