summaryrefslogtreecommitdiff
path: root/check.php
diff options
context:
space:
mode:
authortill <till@php.net>2008-02-01 23:07:49 +0000
committertill <till@php.net>2008-02-01 23:07:49 +0000
commit5812134c2a4569cf14c5173272411c5569ae5044 (patch)
treec2452d3338c935282e6203698557baac96ae4c56 /check.php
parent9ac70f024ec8cf7f95a84cb81afabae5f78ab482 (diff)
* fixed #1484437
* also added it to check.php
Diffstat (limited to 'check.php')
-rw-r--r--check.php24
1 files changed, 23 insertions, 1 deletions
diff --git a/check.php b/check.php
index 4b8e27878..865ba7ace 100644
--- a/check.php
+++ b/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 />';
?>