From 68a4fd44e62852453e65eca31f319842573be969 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Tue, 3 Jun 2014 08:01:39 +0200 Subject: [PATCH] add notification on admin page --- settings/admin.php | 5 +++++ settings/templates/admin.php | 14 ++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/settings/admin.php b/settings/admin.php index a0769892ef..2a33dfb45f 100755 --- a/settings/admin.php +++ b/settings/admin.php @@ -88,6 +88,11 @@ $tmpl->assign('forms', array()); foreach($forms as $form) { $tmpl->append('forms', $form); } + +// TODO - replace by: +// > 5 users OR > 1000 files +$tmpl->assign('databaseOverload', true); + $tmpl->printPage(); /** diff --git a/settings/templates/admin.php b/settings/templates/admin.php index cb57bc0ce7..ad4b7a7762 100644 --- a/settings/templates/admin.php +++ b/settings/templates/admin.php @@ -98,6 +98,20 @@ if (!$_['isAnnotationsWorking']) { +
+

t('Database Performance Warning'));?>

+ + + t('SQLite will be used as database. For larger installations we recommend to change this.')); ?> + + +
+