summaryrefslogtreecommitdiffstats
path: root/templates/show_install_lang.inc.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2009-03-03 01:26:18 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2009-03-03 01:26:18 +0000
commit6ff7d498cf43c7f9453bcef495ca137da298ccf0 (patch)
tree974244b721526eb94ea902680bacb92b886176db /templates/show_install_lang.inc.php
parent50e874b586bb15c99d6409446a7d5c47e857deae (diff)
downloadampache-6ff7d498cf43c7f9453bcef495ca137da298ccf0.tar.gz
ampache-6ff7d498cf43c7f9453bcef495ca137da298ccf0.tar.bz2
ampache-6ff7d498cf43c7f9453bcef495ca137da298ccf0.zip
improve the error messages on installation to show when you are missing the sha256 algos
Diffstat (limited to 'templates/show_install_lang.inc.php')
-rw-r--r--templates/show_install_lang.inc.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/show_install_lang.inc.php b/templates/show_install_lang.inc.php
index a9edf27e..a079708c 100644
--- a/templates/show_install_lang.inc.php
+++ b/templates/show_install_lang.inc.php
@@ -54,7 +54,8 @@
<p><?php echo _('PHP Version'); ?>:
<?php
if(!check_php_ver()) {
- echo " <font color=\"red\">ERROR</font> " . phpversion();
+ echo " <font color=\"red\">ERROR</font> " . phpversion() . " " . _('Hash Function Exists') . " "
+ . print_boolean(function_exists('hash_algos')) . " " . _('SHA256 Support') . " " . print_boolean(in_array('sha256',$algos));
$results = $results + 1;
} else {
echo " <font color=\"green\">&nbsp;&nbsp;&nbsp;OK&nbsp;&nbsp;&nbsp;&nbsp;</font><i>" . phpversion() . "</i>";