mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
do not provide backup tools if backup dir is not set
This commit is contained in:
parent
ce420a78eb
commit
5997717099
|
@ -74,6 +74,7 @@ class SeedDMS_View_BackupTools extends SeedDMS_Bootstrap_Style {
|
|||
|
||||
// archive creation ////////////////////////////////////////////////////////////
|
||||
|
||||
if($this->params['hasbackupdir']) {
|
||||
$this->contentHeading(getMLText("archive_creation"));
|
||||
print "<p>".getMLText("archive_creation_warning")."</p>\n";
|
||||
$this->contentContainerStart();
|
||||
|
@ -178,6 +179,9 @@ class SeedDMS_View_BackupTools extends SeedDMS_Bootstrap_Style {
|
|||
}
|
||||
|
||||
$this->contentContainerEnd();
|
||||
} else {
|
||||
$this->warningMsg(getMLText('no_backup_dir'));
|
||||
}
|
||||
|
||||
// files deletion //////////////////////////////////////////////////////////////
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue
Block a user