summaryrefslogtreecommitdiff
path: root/roundcubemail/check.php
diff options
context:
space:
mode:
authortill <till@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-02-01 23:07:49 +0000
committertill <till@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-02-01 23:07:49 +0000
commit36d8d4093bab35f74be0ea74bae22037108fbad9 (patch)
treeb9330417be41f534df7b71bd6de697878c4ba767 /roundcubemail/check.php
parentf789c155fcd7cebb53586de428061ef5b80ea7b0 (diff)
* fixed #1484437
* also added it to check.php git-svn-id: https://svn.roundcube.net/trunk@982 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/check.php')
-rw-r--r--roundcubemail/check.php24
1 files changed, 23 insertions, 1 deletions
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 "<br />";
+ echo '<br />';
}
echo '<h3>Check supplied DB settings</h3>';
@@ -82,7 +82,29 @@ if (isset($rcmail_config)) {
} else {
echo 'NOT OK';
}
+ echo '<br />';
} else {
echo 'Could not open db.inc.php config file, or file is empty.<br />';
}
+
+echo '<h3>Checking .ini settings</h3>';
+
+$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 '<br />';
+
+echo "file_uploads: ";
+if ($file_uploads == 1) {
+ echo 'OK';
+} else {
+ echo 'NOT OK';
+}
+echo '<br />';
?>