diff options
author | momo-i <webmaster@momo-i.org> | 2011-02-07 17:01:16 +0900 |
---|---|---|
committer | momo-i <webmaster@momo-i.org> | 2011-02-07 17:01:16 +0900 |
commit | 4f51409a6f513dfa04c17fd86cabf98ff32dee16 (patch) | |
tree | 862254fecef99c3b8dceb69ff8660ebd3d29906b /templates | |
parent | ce4f426103f6f03f94867868945846973d29428b (diff) | |
download | ampache-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.php | 6 |
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> |