Revision 2c1c6a9a
Von Moritz Bunkus vor fast 14 Jahren hinzugefügt
bin/mozilla/admin.pl | ||
---|---|---|
846 | 846 |
$form->{title} = "Lx-Office ERP " . $locale->text('Database Administration') . " / " . $locale->text('Backup Dataset'); |
847 | 847 |
|
848 | 848 |
if ($::lx_office_conf{applications}->{pg_dump} eq "DISABLED") { |
849 |
$form->error($locale->text('Database backups and restorations are disabled in lx-erp.conf.'));
|
|
849 |
$form->error($locale->text('Database backups and restorations are disabled in the configuration.'));
|
|
850 | 850 |
} |
851 | 851 |
|
852 | 852 |
my @dbsources = sort User->dbsources($form); |
... | ... | |
870 | 870 |
my $pg_dump_exe = $::lx_office_conf{applications}->{pg_dump} || "pg_dump"; |
871 | 871 |
|
872 | 872 |
if ("$pg_dump_exe" eq "DISABLED") { |
873 |
$form->error($locale->text('Database backups and restorations are disabled in lx-erp.conf.'));
|
|
873 |
$form->error($locale->text('Database backups and restorations are disabled in the configuration.'));
|
|
874 | 874 |
} |
875 | 875 |
|
876 | 876 |
$form->isblank("dbname", $locale->text('The dataset name is missing.')); |
... | ... | |
955 | 955 |
$form->{title} = "Lx-Office ERP " . $locale->text('Database Administration') . " / " . $locale->text('Restore Dataset'); |
956 | 956 |
|
957 | 957 |
if ($::lx_office_conf{applications}->{pg_restore} eq "DISABLED") { |
958 |
$form->error($locale->text('Database backups and restorations are disabled in lx-erp.conf.'));
|
|
958 |
$form->error($locale->text('Database backups and restorations are disabled in the configuration.'));
|
|
959 | 959 |
} |
960 | 960 |
|
961 | 961 |
my $default_charset = $::lx_office_conf{system}->{dbcharset}; |
... | ... | |
982 | 982 |
my $pg_restore_exe = $::lx_office_conf{applications}->{pg_restore} || "pg_restore"; |
983 | 983 |
|
984 | 984 |
if ("$pg_restore_exe" eq "DISABLED") { |
985 |
$form->error($locale->text('Database backups and restorations are disabled in lx-erp.conf.'));
|
|
985 |
$form->error($locale->text('Database backups and restorations are disabled in the configuration.'));
|
|
986 | 986 |
} |
987 | 987 |
|
988 | 988 |
$form->isblank("new_dbname", $locale->text('The dataset name is missing.')); |
Auch abrufbar als: Unified diff
Alte Konfigurationsdateien config/lx-erp.conf{.default} entfernt