From 36d8d4093bab35f74be0ea74bae22037108fbad9 Mon Sep 17 00:00:00 2001 From: till Date: Fri, 1 Feb 2008 23:07:49 +0000 Subject: * fixed #1484437 * also added it to check.php git-svn-id: https://svn.roundcube.net/trunk@982 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/.htaccess | 2 ++ roundcubemail/INSTALL | 1 + roundcubemail/check.php | 24 +++++++++++++++++++++++- 3 files changed, 26 insertions(+), 1 deletion(-) diff --git a/roundcubemail/.htaccess b/roundcubemail/.htaccess index 4d5bb3d8a..e8e090d6d 100644 --- a/roundcubemail/.htaccess +++ b/roundcubemail/.htaccess @@ -8,6 +8,7 @@ AddType text/x-component .htc php_value upload_max_filesize 5M php_value post_max_size 6M php_value memory_limit 64M + php_value session.auto_start 1 @@ -17,6 +18,7 @@ AddType text/x-component .htc php_value upload_max_filesize 5M php_value post_max_size 6M php_value memory_limit 64M + php_value session.auto_start 1 diff --git a/roundcubemail/INSTALL b/roundcubemail/INSTALL index 6177611f1..b68db56be 100644 --- a/roundcubemail/INSTALL +++ b/roundcubemail/INSTALL @@ -20,6 +20,7 @@ REQUIREMENTS - error_reporting E_ALL & ~E_NOTICE (or lower) - file_uploads on (for attachment upload features) - memory_limit (increase as suitable to support large attachments) + - session.auto_start needs to be off/0 * PHP compiled with Open SSL to connect to IMAPS and to use the spell checker * A MySQL or PostgreSQL database engine or the SQLite extension for PHP * One of the above databases with permission to create tables diff --git a/roundcubemail/check.php b/roundcubemail/check.php index 4b8e27878..865ba7ace 100644 --- a/roundcubemail/check.php +++ b/roundcubemail/check.php @@ -66,7 +66,7 @@ foreach ($create_files AS $file) { } else { echo 'NOT OK'; } - echo "
"; + echo '
'; } echo '

Check supplied DB settings

'; @@ -82,7 +82,29 @@ if (isset($rcmail_config)) { } else { echo 'NOT OK'; } + echo '
'; } else { echo 'Could not open db.inc.php config file, or file is empty.
'; } + +echo '

Checking .ini settings

'; + +$auto_start = ini_get('session.auto_start'); +$file_uploads = ini_get('file_uploads'); + +echo "session.auto_start: "; +if ($auto_start == 1) { + echo 'NOT OK'; +} else { + echo 'OK'; +} +echo '
'; + +echo "file_uploads: "; +if ($file_uploads == 1) { + echo 'OK'; +} else { + echo 'NOT OK'; +} +echo '
'; ?> -- cgit v1.2.3