- Timestamp:
- 03/10/2010 02:35:11 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/omcollab_multilang/_InstallationResources/omconfig.php
r1353 r1415 82 82 define( 'OMWIKI_ARTICLE_PATH' , '{omwiki_article_path}' ); 83 83 84 $callingURL = strtolower($_SERVER['REQUEST_URI']); //the requesting url 85 // Let English language be processed at last 86 if ( strpos( $callingURL, 'wiki/zh') | strpos( $callingURL, 'wikizh') ) { 87 define( 'OMWIKI_SCRIPT_PATH' , '/wikizhsrc' ); 88 define( 'OMWIKI_ARTICLE_PATH' , '/wiki/zh/$1' ); 89 } elseif ( strpos( $callingURL, 'wiki') ) { 90 define( 'OMWIKI_SCRIPT_PATH' , '/wikiensrc' ); 91 define( 'OMWIKI_ARTICLE_PATH' , '/wiki/$1' ); 92 } 93 94 95 84 96 # [ google codes (requires a google account) ] 85 97 define( 'OMCOLLAB_GOOGLE_ANALYTICS' , '{omcollab_google_analytics}' );
Note: See TracChangeset
for help on using the changeset viewer.
