summaryrefslogtreecommitdiffstats
path: root/templates/show_install_check.inc.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2009-03-26 21:10:53 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2009-03-26 21:10:53 +0000
commitb443458311d981eb6dc16c1f1a6d21350a33d162 (patch)
treeac958a4f2190a8daf34822575cabe3f36449069f /templates/show_install_check.inc.php
parentca47c2d9b57f12a4584ff68a34207a1aa42a1df1 (diff)
downloadampache-b443458311d981eb6dc16c1f1a6d21350a33d162.tar.gz
ampache-b443458311d981eb6dc16c1f1a6d21350a33d162.tar.bz2
ampache-b443458311d981eb6dc16c1f1a6d21350a33d162.zip
slight tweak to /test.php and /install.php check to make the sha256() check work, also make reference to auto_user config option under auto_create config option
Diffstat (limited to 'templates/show_install_check.inc.php')
-rw-r--r--templates/show_install_check.inc.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/show_install_check.inc.php b/templates/show_install_check.inc.php
index 1d3c1115..5a723dfc 100644
--- a/templates/show_install_check.inc.php
+++ b/templates/show_install_check.inc.php
@@ -24,6 +24,7 @@
<p><?php echo _('PHP Version'); ?>:
<?php
if(!check_php_ver()) {
+ if (function_exists('hash_algos')) { $algos = hash_algos(); }
$string = phpversion() . " " . _('Hash Function Exists') . " " . print_boolean(function_exists('hash_algos')) . " " . _('SHA256 Support') . " " . print_boolean(in_array('sha256',$algos));
echo debug_result($string,false);
Error::add('install',_('PHP Version'));