Changeset 1411 for branches/omcollab_multilang/wiki/LocalSettings.php
- Timestamp:
- 03/10/2010 09:25:23 AM (2 years ago)
- File:
-
- 1 edited
-
branches/omcollab_multilang/wiki/LocalSettings.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/omcollab_multilang/wiki/LocalSettings.php
r1408 r1411 325 325 // Add Login Language Selector 326 326 $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 335 if ( 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.
