summaryrefslogtreecommitdiffstats
path: root/system/application
diff options
context:
space:
mode:
authoradmin <devnull@localhost>2006-09-21 06:45:20 +0200
committeradmin <devnull@localhost>2006-09-21 06:45:20 +0200
commit9aaa75ed7cd7b2a95cff5b8a52a59c1e6dcf9da6 (patch)
tree6d7599e7cae08438a1546d9293838c92ad5fc320 /system/application
parent03152efb757866c6a2aac6ecfbeb551444f7af78 (diff)
Diffstat (limited to 'system/application')
-rw-r--r--system/application/config/config.php22
1 files changed, 19 insertions, 3 deletions
diff --git a/system/application/config/config.php b/system/application/config/config.php
index 7b19b83b5..e88abd9f9 100644
--- a/system/application/config/config.php
+++ b/system/application/config/config.php
@@ -204,7 +204,6 @@ $config['log_date_format'] = 'Y-m-d H:i:s';
*/
$config['cache_path'] = '';
-
/*
|--------------------------------------------------------------------------
| Encryption Key
@@ -216,7 +215,6 @@ $config['cache_path'] = '';
*/
$config['encryption_key'] = "";
-
/*
|--------------------------------------------------------------------------
| Session Variables
@@ -236,7 +234,6 @@ $config['sess_table_name'] = '';
$config['sess_match_ip'] = TRUE;
$config['sess_match_useragent'] = TRUE;
-
/*
|--------------------------------------------------------------------------
| Cookie Related Variables
@@ -262,5 +259,24 @@ $config['cookie_path'] = "/";
*/
$config['global_xss_filtering'] = FALSE;
+/*
+|--------------------------------------------------------------------------
+| Output Compression
+|--------------------------------------------------------------------------
+|
+| Enables output compression using Gzip for faster page loads. When enabled,
+| the output class will test whether the server your site is running on
+| supports Gzip. Even if it does, however, not all browsers support compression
+| so enable only if you are reasonably sure your visitors can handle it.
+|
+| VERY IMPORTANT: If you are getting a blank page when this is enabled it
+| means you are prematurely outputing something to your browser. It could
+| even be a line of whitespace at the end of one of your scripts. For
+| compression to work, nothing can be sent before the output buffer is called
+| by the output class.
+|
+*/
+$config['compress_output'] = TRUE;
+
?> \ No newline at end of file