summaryrefslogtreecommitdiffstats
path: root/lib/debug.lib.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/debug.lib.php')
-rw-r--r--lib/debug.lib.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/debug.lib.php b/lib/debug.lib.php
index 5320e019..08cf7d6d 100644
--- a/lib/debug.lib.php
+++ b/lib/debug.lib.php
@@ -356,6 +356,11 @@ function check_putenv() {
return false;
}
+ /* Check and see if we can up the post limit */
+ if (!ini_set(post_max_size,'8M')) {
+ return false;
+ }
+
/* Check if safe mode is on */
if (ini_get('safe_mode')) {
return false;