Skip to content

Commit

Permalink
Initialised
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris committed Apr 12, 2016
1 parent 44c28d3 commit eb3a67d
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion libraries/cms/installer/adapter/component.php
Expand Up @@ -946,7 +946,16 @@ protected function _buildAdminMenus($component_id = null)
$data['client_id'] = 1;
$data['title'] = (string) trim($menuElement);
$data['alias'] = (string) $menuElement;
$data['link'] = 'index.php?option=' . $option;


// My changes here



// Original code:
//$data['link'] = 'index.php?option=' . $option;


$data['type'] = 'component';
$data['published'] = 0;
$data['parent_id'] = 1;
Expand Down

0 comments on commit eb3a67d

Please sign in to comment.