From eb5073496da0bcc9b07109f1c31f837ed90cf199 Mon Sep 17 00:00:00 2001 From: nehresma Date: Mon, 31 Jan 2000 16:47:18 +0000 Subject: [PATCH] added checking to see if php was compiled --with-gettext or not git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@187 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/login.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/login.php b/src/login.php index cb9b32a2..8ae5ea37 100644 --- a/src/login.php +++ b/src/login.php @@ -16,6 +16,13 @@ include("../functions/strings.php"); echo "\n"; + + // let's check to see if they compiled with gettext support + if (!function_exists("_")) { + echo "
PHP was not configured --with-gettext. Reconfigure and try again.
"; + exit; + } + echo "
\n"; echo "
\n"; echo "
"; -- 2.25.1