From 5261cec7ebe293be7b0db1251836259d9831a48d Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Fri, 19 Oct 2012 09:48:20 +0200 Subject: Improved error message when setting required options fails (#1488682) --- program/include/iniset.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'program/include/iniset.php') diff --git a/program/include/iniset.php b/program/include/iniset.php index a2f43b380..82278c9f8 100644 --- a/program/include/iniset.php +++ b/program/include/iniset.php @@ -34,7 +34,9 @@ $config = array( ); foreach ($config as $optname => $optval) { if ($optval != ini_get($optname) && @ini_set($optname, $optval) === false) { - die("ERROR: Wrong '$optname' option value. Read REQUIREMENTS section in INSTALL file or use Roundcube Installer, please!"); + die("ERROR: Wrong '$optname' option value and it wasn't possible to set it to required value ($optval).\n" + ."Check your PHP configuration (including php_admin_flag).\n" + ."Read REQUIREMENTS section in INSTALL file or use Roundcube Installer!"); } } -- cgit v1.2.3