foreach($forms as $form) {
$tmpl->append('forms', $form);
}
+
+// TODO - replace by:
+// > 5 users OR > 1000 files
+$tmpl->assign('databaseOverload', true);
+
$tmpl->printPage();
/**
<?php
}
+// SQLite database performance issue
+if ($_['databaseOverload']) {
+ ?>
+<div class="section">
+ <h2><?php p($l->t('Database Performance Warning'));?></h2>
+
+ <span class="securitywarning">
+ <?php p($l->t('SQLite will be used as database. For larger installations we recommend to change this.')); ?>
+ </span>
+
+</div>
+<?php
+}
+
// if module fileinfo available?
if (!$_['has_fileinfo']) {
?>