summaryrefslogtreecommitdiffstats
path: root/settings/templates/admin.php
diff options
context:
space:
mode:
Diffstat (limited to 'settings/templates/admin.php')
-rw-r--r--settings/templates/admin.php21
1 files changed, 16 insertions, 5 deletions
diff --git a/settings/templates/admin.php b/settings/templates/admin.php
index 41b60b64428..65c6359e509 100644
--- a/settings/templates/admin.php
+++ b/settings/templates/admin.php
@@ -10,13 +10,10 @@
*/
style('settings', 'settings');
-script('settings', 'settings');
-script( "settings", "admin" );
-script( "settings", "log" );
-script( 'core', 'multiselect' );
+script('settings', [ 'settings', 'admin', 'log'] );
+script('core', ['multiselect', 'setupchecks']);
vendor_script('select2/select2');
vendor_style('select2/select2');
-script('core', 'setupchecks');
$levels = array('Debug', 'Info', 'Warning', 'Error', 'Fatal');
$levelLabels = array(
@@ -125,6 +122,20 @@ if ($_['databaseOverload']) {
<?php
}
+// Windows Warning
+if ($_['WindowsWarning']) {
+ ?>
+<div class="section">
+ <h2><?php p($l->t('Microsoft Windows Platform'));?></h2>
+
+ <p class="securitywarning">
+ <?php p($l->t('Your server is running on Microsoft Windows. We highly recommend Linux for optimal user experience.')); ?>
+ </p>
+
+</div>
+<?php
+}
+
// if module fileinfo available?
if (!$_['has_fileinfo']) {
?>