parent
970a5094cb
commit
c2171bf450
|
|
@ -59,7 +59,7 @@ else {
|
|||
foreach ($row['menu'] as $index => &$menu) {
|
||||
//delete menu groups and permissions from the database
|
||||
$array['menu_item_groups'][$index]['menu_item_uuid'] = $menu['uuid'];
|
||||
$array['menu_items'][$index['menu_item_uuid'] = $menu['uuid'];
|
||||
$array['menu_items'][$index]['menu_item_uuid'] = $menu['uuid'];
|
||||
//delete the app from the file system
|
||||
if (strlen($menu['path']) > 0) {
|
||||
system('rm -rf '.dirname($_SERVER["DOCUMENT_ROOT"].PROJECT_PATH.$menu['path']));
|
||||
|
|
@ -98,4 +98,4 @@ else {
|
|||
header("Location: apps.php");
|
||||
return;
|
||||
|
||||
?>
|
||||
?>
|
||||
|
|
|
|||
Loading…
Reference in New Issue