From f30c0b84c9da0739f773081267afbab2ac5efd5e Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Wed, 5 Jan 2011 21:42:49 +1300 Subject: [PATCH] Remove attempts to translate early error messages. Signed-off-by: Andrew McMillan --- htdocs/setup.php | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/htdocs/setup.php b/htdocs/setup.php index 00f72654..77d39112 100644 --- a/htdocs/setup.php +++ b/htdocs/setup.php @@ -1,8 +1,6 @@ %s

", $errormessage ); } -$loaded_extensions = array_flip(get_loaded_extensions()); -if ( !check_pgsql()->getOK() ) do_error(i18n("PHP 'pgsql' functions are not available") ); -if ( !check_pdo()->getOK() ) do_error(i18n("PHP 'PDO' module is not available") ); -if ( !check_pdo_pgsql()->getOK() ) do_error(i18n("The PDO drivers for PostgreSQL are not available") ); -if ( !check_iconv()->getOK() ) do_error(i18n("The 'iconv' extension for PHP is not available") ); +if ( !check_gettext()->getOK() ) { do_error("The GNU 'gettext' extension for PHP is not available."); +if ( !check_pgsql()->getOK() ) do_error("PHP 'pgsql' functions are not available"); +if ( !check_pdo()->getOK() ) do_error("PHP 'PDO' module is not available"); +if ( !check_pdo_pgsql()->getOK() ) do_error("The PDO drivers for PostgreSQL are not available"); +if ( !check_iconv()->getOK() ) do_error("The 'iconv' extension for PHP is not available"); function get_phpinfo() { ob_start( );