From 52851464e0267795ffd688e3c769d9161011dba8 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Thu, 02 Oct 2008 13:48:29 -0400
Subject: [PATCH] - Fix race conditions when changing mailbox (set some env variables only when needed - no action or action==list)

---
 .htaccess |   18 ++++++++++++++----
 1 files changed, 14 insertions(+), 4 deletions(-)

diff --git a/.htaccess b/.htaccess
index 2244a05..9e3667b 100644
--- a/.htaccess
+++ b/.htaccess
@@ -1,8 +1,18 @@
 # AddDefaultCharset	UTF-8
-php_flag	display_errors	Off
-php_flag	log_errors	On
-php_value	error_log	logs/errors
-php_value	upload_max_filesize	5M
+AddType text/x-component .htc
+
+<IfModule mod_php5.c>
+  php_flag	display_errors	Off
+  php_flag	log_errors	On
+  php_value	error_log	logs/errors
+  php_value	upload_max_filesize	5M
+  php_value	post_max_size	6M
+  php_value	memory_limit	64M
+  php_value	session.auto_start	0
+  php_value	zlib.output_compression	0
+  php_value	magic_quotes_gpc	0
+  php_value	zend.ze1_compatibility_mode	0
+</IfModule>
 
 <FilesMatch "(\.inc|\~)$">
   Order allow,deny

--
Gitblit v1.9.1