- Timestamp:
- 03/14/2010 02:32:39 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/omcollab_multilang/_InstallationResources/omconfig.php
r1425 r1429 78 78 define( 'OMFORUM_APPLICATION_NAME' , '{omforum_application_name}' ); 79 79 80 # [ omwiki script & article paths ]81 //define( 'OMWIKI_SCRIPT_PATH' , '{omwiki_script_path}' );82 //define( 'OMWIKI_ARTICLE_PATH' , '{omwiki_article_path}' );83 84 80 $callingURL = strtolower($_SERVER['REQUEST_URI']); //the requesting url 85 81 // Let English language be processed at last 86 82 if ( strpos( $callingURL, 'wiki/zh') | strpos( $callingURL, 'wikizh') ) { 87 define( 'OMWIKI_SCRIPT_PATH' , '/wikizh src' );83 define( 'OMWIKI_SCRIPT_PATH' , '/wikizh' ); 88 84 define( 'OMWIKI_ARTICLE_PATH' , '/wiki/zh/$1' ); 89 85 } else { 90 define( 'OMWIKI_SCRIPT_PATH' , '/wikiensrc' ); 91 define( 'OMWIKI_ARTICLE_PATH' , '/wiki/$1' ); 86 # [ omwiki script & article paths ] 87 define( 'OMWIKI_SCRIPT_PATH' , '{omwiki_script_path}' ); 88 define( 'OMWIKI_ARTICLE_PATH' , '{omwiki_article_path}' ); 92 89 } 93 94 95 90 96 91 # [ google codes (requires a google account) ]
Note: See TracChangeset
for help on using the changeset viewer.
