diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2009-03-03 01:26:18 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2009-03-03 01:26:18 +0000 |
commit | 6ff7d498cf43c7f9453bcef495ca137da298ccf0 (patch) | |
tree | 974244b721526eb94ea902680bacb92b886176db /templates/show_install_lang.inc.php | |
parent | 50e874b586bb15c99d6409446a7d5c47e857deae (diff) | |
download | ampache-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.php | 3 |
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\"> OK </font><i>" . phpversion() . "</i>"; |