svn: /web/php-bugs/trunk/ include/prepend.php www/js/userlisting.php
| From: | Jani Taskinen | Date: | Tue, 16 Mar 2010 13:02:53 +0000 |
| Subject: | svn: /web/php-bugs/trunk/ include/prepend.php www/js/userlisting.php | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-7607@lists.php.net to get a copy of this message | ||
jani Tue, 16 Mar 2010 13:02:53 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=296274
Log:
- Enable compression
Changed paths:
U web/php-bugs/trunk/include/prepend.php
U web/php-bugs/trunk/www/js/userlisting.php
Modified: web/php-bugs/trunk/include/prepend.php
===================================================================
--- web/php-bugs/trunk/include/prepend.php 2010-03-16 13:02:31 UTC (rev 296273)
+++ web/php-bugs/trunk/include/prepend.php 2010-03-16 13:02:53 UTC (rev 296274)
@@ -5,6 +5,9 @@
die('Turn off "magic_quotes_gpc" in php.ini!');
}
+// Enable output compression
+ini_set('zlib.output_compression', 1);
+
$site = 'php';
$siteBig = 'PHP';
$ROOT_DIR = realpath(dirname(__FILE__) . '/../');
Modified: web/php-bugs/trunk/www/js/userlisting.php
===================================================================
--- web/php-bugs/trunk/www/js/userlisting.php 2010-03-16 13:02:31 UTC (rev 296273)
+++ web/php-bugs/trunk/www/js/userlisting.php 2010-03-16 13:02:53 UTC (rev 296274)
@@ -1,5 +1,8 @@
<?php
+// Enable output compression
+ini_set('zlib.output_compression', 1);
+
function getAllUsers()
{
$opts = array('ignore_errors' => true);