Ignore:
Timestamp:
03/10/2010 09:25:23 AM (2 years ago)
Author:
Xiping.Wang
Message:

[omcollab_multilang] add setting files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/omcollab_multilang/wiki/LocalSettings.php

    r1408 r1411  
    325325// Add Login Language Selector 
    326326$wgLoginLanguageSelector=true; 
     327 
     328// Make sure these settings right 
     329$wgInterwikiMagic = true; 
     330$wgHideInterlanguageLinks = false; 
     331 
     332// Use url to determind which instance is used 
     333$callingURL = strtolower($_SERVER['REQUEST_URI']); //the requesting url 
     334// Let English language be processed at last 
     335if ( strpos( $callingURL, 'wiki/zh') |  strpos( $callingURL, 'wikizh')  ) { 
     336        require_once('LocalSettings-zh.php' ); 
     337} elseif ( strpos( $callingURL, 'wiki') ) { 
     338        require_once('LocalSettings-en.php'); 
     339} 
     340 
     341 
Note: See TracChangeset for help on using the changeset viewer.