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.
2 parents e95c9a5 + baf703b commit 9e96b63Copy full SHA for 9e96b63
interface/web/dashboard/dashlets/databasequota.php
@@ -8,6 +8,11 @@ function show() {
8
//* Loading Template
9
$app->uses('tpl,quota_lib');
10
11
+ $modules = $_SESSION['s']['user']['modules'];
12
+ if (!in_array($modules, 'sites')) {
13
+ return '';
14
+ }
15
+
16
$tpl = new tpl;
17
$tpl->newTemplate("dashlets/templates/databasequota.htm");
18
interface/web/dashboard/dashlets/quota.php
$tpl->newTemplate("dashlets/templates/quota.htm");
0 commit comments