diff options
author | Frédéric Guillot <fguillot@users.noreply.github.com> | 2014-03-30 19:53:59 -0400 |
---|---|---|
committer | Frédéric Guillot <fguillot@users.noreply.github.com> | 2014-03-30 19:53:59 -0400 |
commit | d9dfd9d6199b15eba9510ef460e18c9245d9ab12 (patch) | |
tree | 6704134700cbc80c39b289620917d4bec011998e /templates/config_index.php | |
parent | 34711f584651205cb6738b49df285d93a35393b5 (diff) |
Add Mysql/MariaDB support
Diffstat (limited to 'templates/config_index.php')
-rw-r--r-- | templates/config_index.php | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/templates/config_index.php b/templates/config_index.php index 0af2f9c2..fef8909d 100644 --- a/templates/config_index.php +++ b/templates/config_index.php @@ -27,18 +27,20 @@ <?= t('Webhooks token:') ?> <strong><?= Helper\escape($values['webhooks_token']) ?></strong> </li> - <li> - <?= t('Database size:') ?> - <strong><?= Helper\format_bytes($db_size) ?></strong> - </li> - <li> - <a href="?controller=config&action=downloadDb"><?= t('Download the database') ?></a> - <?= t('(Gzip compressed Sqlite file)') ?> - </li> - <li> - <a href="?controller=config&action=optimizeDb"><?= t('Optimize the database') ?></a> - <?= t('(VACUUM command)') ?> - </li> + <?php if (DB_DRIVER === 'sqlite'): ?> + <li> + <?= t('Database size:') ?> + <strong><?= Helper\format_bytes($db_size) ?></strong> + </li> + <li> + <a href="?controller=config&action=downloadDb"><?= t('Download the database') ?></a> + <?= t('(Gzip compressed Sqlite file)') ?> + </li> + <li> + <a href="?controller=config&action=optimizeDb"><?= t('Optimize the database') ?></a> + <?= t('(VACUUM command)') ?> + </li> + <?php endif ?> <li> <?= t('Official website:') ?> <a href="http://kanboard.net/" target="_blank" rel="noreferer">http://kanboard.net/</a> |