add historical data fialure message

This commit is contained in:
marcos 2019-12-02 11:20:25 +01:00
parent 80d5eea467
commit e412516a64
1 changed files with 7 additions and 2 deletions

View File

@ -95,7 +95,12 @@ background:black;opacity:0.1;left:0px;top:0px;width:100%;height:100%;
<img class='modalcontentim' src='<?php echo $config['homeurl']; ?>/images/mysqlerr.png'>
<div class='modalcontenttex'>
<?php
if ($config['history_db_connection'] === false) {
echo __('History database connection failure, please check login credentials or contact the system administration for help.');
} else {
echo __('Failure to connect to Database server, please check the configuration file config.php or contact system administrator if you need assistance.');
}
?>
</div>
</div>