예제 #1
0
 public function __construct()
 {
     global $IP;
     self::$dirBase = $IP;
     global $wgCapitalLinks;
     $wgCapitalLinks = false;
     $this->filePattern = null;
     $this->dirPattern = null;
     $this->linePattern = null;
     global $wgMessageCache;
     foreach (self::$msg as $key => $value) {
         $wgMessageCache->addMessages(self::$msg[$key], $key);
     }
 }