Changeset 1425
- Timestamp:
- 03/12/2010 11:05:02 AM (2 years ago)
- Location:
- branches/omcollab_multilang
- Files:
-
- 2 edited
-
_InstallationResources/omconfig.php (modified) (2 diffs)
-
wiki/LocalSettings.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/omcollab_multilang/_InstallationResources/omconfig.php
r1415 r1425 79 79 80 80 # [ omwiki script & article paths ] 81 define( 'OMWIKI_SCRIPT_PATH' , '{omwiki_script_path}' );82 define( 'OMWIKI_ARTICLE_PATH' , '{omwiki_article_path}' );81 //define( 'OMWIKI_SCRIPT_PATH' , '{omwiki_script_path}' ); 82 //define( 'OMWIKI_ARTICLE_PATH' , '{omwiki_article_path}' ); 83 83 84 84 $callingURL = strtolower($_SERVER['REQUEST_URI']); //the requesting url … … 87 87 define( 'OMWIKI_SCRIPT_PATH' , '/wikizhsrc' ); 88 88 define( 'OMWIKI_ARTICLE_PATH' , '/wiki/zh/$1' ); 89 } else if ( strpos( $callingURL, 'wiki') ){89 } else { 90 90 define( 'OMWIKI_SCRIPT_PATH' , '/wikiensrc' ); 91 91 define( 'OMWIKI_ARTICLE_PATH' , '/wiki/$1' ); -
branches/omcollab_multilang/wiki/LocalSettings.php
r1411 r1425 335 335 if ( strpos( $callingURL, 'wiki/zh') | strpos( $callingURL, 'wikizh') ) { 336 336 require_once('LocalSettings-zh.php' ); 337 } else if ( strpos( $callingURL, 'wiki') ){337 } else { 338 338 require_once('LocalSettings-en.php'); 339 339 }
Note: See TracChangeset
for help on using the changeset viewer.
