summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authormomo-i <webmaster@momo-i.org>2011-02-07 17:01:16 +0900
committermomo-i <webmaster@momo-i.org>2011-02-07 17:01:16 +0900
commit4f51409a6f513dfa04c17fd86cabf98ff32dee16 (patch)
tree862254fecef99c3b8dceb69ff8660ebd3d29906b /templates
parentce4f426103f6f03f94867868945846973d29428b (diff)
downloadampache-4f51409a6f513dfa04c17fd86cabf98ff32dee16.tar.gz
ampache-4f51409a6f513dfa04c17fd86cabf98ff32dee16.tar.bz2
ampache-4f51409a6f513dfa04c17fd86cabf98ff32dee16.zip
Added security check function (this is experimental.)
Diffstat (limited to 'templates')
-rw-r--r--templates/show_info.inc.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/templates/show_info.inc.php b/templates/show_info.inc.php
index 35b5abe8..c8a8f3d2 100644
--- a/templates/show_info.inc.php
+++ b/templates/show_info.inc.php
@@ -70,7 +70,11 @@
</tr>
<tr>
<td valign="top"><?php echo _('PHP recommendation settings'); ?></td>
- <td valign="top">[]</td>
+ <td valign="top"><?php
+ foreach(check_security() as $warning=>$message) {
+ printf('<span title="%s">%s</span><br />', $message, $warning);
+ }
+ ?></td>
<td>
<?php echo _('This test checks whether the recommended security settings.'); ?></td>
</tr>