]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
authorSarven Capadisli <csarven@status.net>
Thu, 31 Dec 2009 14:37:23 +0000 (14:37 +0000)
committerSarven Capadisli <csarven@status.net>
Thu, 31 Dec 2009 14:37:23 +0000 (14:37 +0000)
lib/util.php
plugins/CasAuthentication/CasAuthenticationPlugin.php

index ed81aeba16ceffde2a25c84c1229f7c26dca7358..df3110ddd658b750191ad775e4e4a697cc216835 100644 (file)
@@ -1416,6 +1416,7 @@ function common_memcache()
             } else {
                 $cache->addServer($servers);
             }
+            $cache->setCompressThreshold(20000, 0.2);
         }
         return $cache;
     }
index 428aafb024574a3e208973b7d43cdb6e1ea87827..8b6ef54621f28e51430d0299ff0eae5f88125544 100644 (file)
@@ -34,6 +34,7 @@ if (!defined('STATUSNET') && !defined('LACONICA')) {
 // We bundle the phpCAS library...
 set_include_path(get_include_path() . PATH_SEPARATOR . dirname(__FILE__) . '/extlib/CAS');
 
+require_once INSTALLDIR.'/plugins/Authentication/AuthenticationPlugin.php';
 class CasAuthenticationPlugin extends AuthenticationPlugin
 {
     public $server;