summaryrefslogtreecommitdiff
path: root/program/include/iniset.php
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-10-19 09:48:20 +0200
committerAleksander Machniak <alec@alec.pl>2012-10-19 09:48:20 +0200
commit5261cec7ebe293be7b0db1251836259d9831a48d (patch)
tree7ce283f87a60574bb57e06520afaebc1b60dcb8f /program/include/iniset.php
parentef790693374bae5851060c1a085a37ebdf1b9b0d (diff)
Improved error message when setting required options fails (#1488682)
Diffstat (limited to 'program/include/iniset.php')
-rw-r--r--program/include/iniset.php4
1 files changed, 3 insertions, 1 deletions
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!");
}
}