aboutsummaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
Diffstat (limited to 'settings')
-rwxr-xr-xsettings/admin.php4
-rw-r--r--settings/templates/admin.php14
2 files changed, 18 insertions, 0 deletions
diff --git a/settings/admin.php b/settings/admin.php
index a0769892ef4..fc76d3d74ab 100755
--- a/settings/admin.php
+++ b/settings/admin.php
@@ -88,6 +88,10 @@ $tmpl->assign('forms', array());
foreach($forms as $form) {
$tmpl->append('forms', $form);
}
+
+$databaseOverload = (strpos(\OCP\Config::getSystemValue('dbtype'), 'sqlite') !== false);
+$tmpl->assign('databaseOverload', $databaseOverload);
+
$tmpl->printPage();
/**
diff --git a/settings/templates/admin.php b/settings/templates/admin.php
index cb57bc0ce72..c8ca031ec98 100644
--- a/settings/templates/admin.php
+++ b/settings/templates/admin.php
@@ -98,6 +98,20 @@ if (!$_['isAnnotationsWorking']) {
<?php
}
+// SQLite database performance issue
+if ($_['databaseOverload']) {
+ ?>
+<div class="section">
+ <h2><?php p($l->t('Database Performance Info'));?></h2>
+
+ <p class="securitywarning">
+ <?php p($l->t('SQLite is used as database. For larger installations we recommend to change this. To migrate to another database use the command line tool: \'occ db:convert-type\'')); ?>
+ </p>
+
+</div>
+<?php
+}
+
// if module fileinfo available?
if (!$_['has_fileinfo']) {
?>