We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 810ed16 commit 84066d6Copy full SHA for 84066d6
interface/web/sites/lib/module.conf.php
@@ -198,11 +198,12 @@
198
'link' => 'sites/web_sites_stats.php',
199
'html_id' => 'websites_stats');
200
201
-$items[] = array( 'title' => 'FTP traffic',
202
- 'target' => 'content',
203
- 'link' => 'sites/ftp_sites_stats.php',
204
- 'html_id' => 'ftpsites_stats');
205
-
+if($app->auth->get_client_limit($userid, 'ftp_user') != 0) {
+ $items[] = array( 'title' => 'FTP traffic',
+ 'target' => 'content',
+ 'link' => 'sites/ftp_sites_stats.php',
+ 'html_id' => 'ftpsites_stats');
206
+}
207
$items[] = array( 'title' => 'Website quota (Harddisk)',
208
'target' => 'content',
209
'link' => 'sites/user_quota_stats.php',
0 commit comments