コード例 #1
0
ファイル: Wikia.php プロジェクト: Tjorriemorrie/app
 /**
  * Wikia Setup.php
  *
  * @author      MoLi
  */
 public static function setupAfterCache()
 {
     global $wgTTCache;
     $wgTTCache = wfGetSolidCacheStorage();
     return true;
 }
コード例 #2
0
ファイル: Wikia.php プロジェクト: schwarer2006/wikia
 /**
  * Wikia Setup.php
  *
  * @author      MoLi
  */
 public static function setupAfterCache()
 {
     global $wgTTCache;
     $wgTTCache = wfGetSolidCacheStorage();
     # setup externalAuth
     global $wgExternalAuthType, $wgAutocreatePolicy;
     if ($wgExternalAuthType == 'ExternalUser_Wikia') {
         $wgAutocreatePolicy = 'view';
     }
     return true;
 }