summaryrefslogtreecommitdiffstats
path: root/templates/show_install_check.inc.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2009-03-10 14:37:14 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2009-03-10 14:37:14 +0000
commit534f7256ce2eb6f5e06259d667831115ce599641 (patch)
treef936fee8f0f9fb68a3e31d9b83d12650e6e36eee /templates/show_install_check.inc.php
parent9a54e854bf525563fa51de97c06d3604c7a4639a (diff)
downloadampache-534f7256ce2eb6f5e06259d667831115ce599641.tar.gz
ampache-534f7256ce2eb6f5e06259d667831115ce599641.tar.bz2
ampache-534f7256ce2eb6f5e06259d667831115ce599641.zip
department of redundency department - make Error::add_error() references, reference the real function which is Error::add() Thx Paleo for finding it
Diffstat (limited to 'templates/show_install_check.inc.php')
-rw-r--r--templates/show_install_check.inc.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/show_install_check.inc.php b/templates/show_install_check.inc.php
index 896a3cbd..1d3c1115 100644
--- a/templates/show_install_check.inc.php
+++ b/templates/show_install_check.inc.php
@@ -26,7 +26,7 @@
if(!check_php_ver()) {
$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_error('install',_('PHP Version'));
+ Error::add('install',_('PHP Version'));
}
else {
echo debug_result(phpversion(),true);
@@ -37,7 +37,7 @@
<?php
if (!check_php_mysql()) {
echo debug_result('',false);
- Error::add_error('install',_('Mysql for PHP'));
+ Error::add('install',_('Mysql for PHP'));
}
else {
echo debug_result(mysql_get_client_info(),true);
@@ -48,7 +48,7 @@
<?php
if (!check_php_session()) {
echo debug_result('',false);
- Error::add_error('install',_('PHP Session Support'));
+ Error::add('install',_('PHP Session Support'));
}
else {
echo debug_result('',true);
@@ -59,7 +59,7 @@
<?php
if (!check_php_iconv()) {
echo debug_result('',false);
- Error::add_error('install',_('PHP ICONV Support'));
+ Error::add('install',_('PHP ICONV Support'));
}
else {
echo debug_result('',true);
@@ -70,7 +70,7 @@
<?php
if (!check_php_pcre()) {
echo debug_result('',false);
- Error::add_error('install',_('PHP PCRE Support'));
+ Error::add('install',_('PHP PCRE Support'));
}
else {
echo debug_result('',true);
@@ -81,7 +81,7 @@
<?php
if (!check_putenv()) {
echo debug_result('',false);
- Error::add_error('install',_('PHP PutENV Support'));
+ Error::add('install',_('PHP PutENV Support'));
}
else {
echo debug_result('',true);