diff --git a/setup.php b/setup.php index 2b99c19d..62e1a287 100644 --- a/setup.php +++ b/setup.php @@ -49,6 +49,7 @@ $f_mysqli_connect = function_exists ("mysqli_connect"); $f_pg_connect = function_exists ("pg_connect"); $f_session_start = function_exists ("session_start"); $f_preg_match = function_exists ("preg_match"); +$f_mb_encode_mimeheader = function_exists ("mb_encode_mimeheader"); $file_config = file_exists (realpath ("./config.inc.php")); @@ -77,7 +78,7 @@ if ($f_apache_get_version == 1) } else { - print "
  • Unable to check for Apache version. (missing function: apache_get_version())
  • \n"; + print "
  • Unable to check for Apache version. (missing function: apache_get_version())
    (Ignore this warning if you use another webserver software.)
  • \n"; } print ""; @@ -234,6 +235,20 @@ else $error =+ 1; } +// +// Multibyte functions +// +if ( $f_mb_encode_mimeheader == 1 ) +{ + print "
  • Depends on: multibyte string - OK
  • \n"; +} +else +{ + print "
  • Error: Depends on: multibyte string - NOT FOUND
    \n"; + print "To install multibyte string support, install php$phpversion-mbstring
  • \n"; + $error =+ 1; +} + print ""; if ($error != 0)