Skip to content

Commit d92e05f

Browse files
committed
Make backup settings available for admin only.
1 parent 49029cc commit d92e05f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

interface/web/sites/form/web_domain.tform.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,9 @@
389389
)
390390
);
391391

392-
//* Statistics
392+
if($_SESSION["s"]["user"]["typ"] == 'admin') {
393+
394+
//* Backup
393395
$form["tabs"]['backup'] = array (
394396
'title' => "Backup",
395397
'width' => 100,
@@ -417,6 +419,8 @@
417419
)
418420
);
419421

422+
}
423+
420424
if($_SESSION["s"]["user"]["typ"] == 'admin') {
421425

422426
$form["tabs"]['advanced'] = array (

0 commit comments

Comments
 (0)