mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-15 06:01:19 +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 ////////////////////////////////////////////////////////////
|
// archive creation ////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
if($this->params['hasbackupdir']) {
|
||||||
$this->contentHeading(getMLText("archive_creation"));
|
$this->contentHeading(getMLText("archive_creation"));
|
||||||
print "<p>".getMLText("archive_creation_warning")."</p>\n";
|
print "<p>".getMLText("archive_creation_warning")."</p>\n";
|
||||||
$this->contentContainerStart();
|
$this->contentContainerStart();
|
||||||
|
@ -178,6 +179,9 @@ class SeedDMS_View_BackupTools extends SeedDMS_Bootstrap_Style {
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->contentContainerEnd();
|
$this->contentContainerEnd();
|
||||||
|
} else {
|
||||||
|
$this->warningMsg(getMLText('no_backup_dir'));
|
||||||
|
}
|
||||||
|
|
||||||
// files deletion //////////////////////////////////////////////////////////////
|
// files deletion //////////////////////////////////////////////////////////////
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue
Block a user