cfoe
2012-08-25 4ee9efa1670ba1a54fc3c42a415fa1c120d1b627
hide command line cat if all features are disabled
1 files modified
4 ■■■ changed files
interface/web/sites/lib/module.conf.php 4 ●●● patch | view | raw | blame | history
interface/web/sites/lib/module.conf.php
@@ -108,6 +108,8 @@
// CMD menu
if($app->auth->get_client_limit($userid,'shell_user') != 0 OR $app->auth->get_client_limit($userid,'cron') != 0)
{
$items=array();
if($app->auth->get_client_limit($userid,'shell_user') != 0)
@@ -127,7 +129,7 @@
$module["nav"][] = array(   'title' => 'Command Line',
                            'open'  => 1,
                            'items' => $items);
}
// APS menu
$items = array();