Commit d9f5c1cbae945ad6f360807cc96f2a10681bfbe2
1 parent
a874764c
Type: i18n Framework.
Description: Added i18n configuration. git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@2836 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
3 additions
and
4 deletions
config/environment.php
| @@ -46,10 +46,9 @@ require_once("$default->fileSystemRoot/phplib/db_mysql.inc"); | @@ -46,10 +46,9 @@ require_once("$default->fileSystemRoot/phplib/db_mysql.inc"); | ||
| 46 | require_once("$default->fileSystemRoot/lib/database/db.inc"); | 46 | require_once("$default->fileSystemRoot/lib/database/db.inc"); |
| 47 | $default->db = new Database(); | 47 | $default->db = new Database(); |
| 48 | 48 | ||
| 49 | -//language translation functions | ||
| 50 | -require_once("$default->fileSystemRoot/i18n/LanguageFunctions.inc"); | ||
| 51 | -//change this to reflect the language to use | ||
| 52 | -require_once("$default->fileSystemRoot/i18n/en/Language.inc"); | 49 | +// default language |
| 50 | +$default->defaultLanguage = "en"; | ||
| 51 | +$default->useAcceptLanguageHeader = false; | ||
| 53 | 52 | ||
| 54 | // instantiate system settings class | 53 | // instantiate system settings class |
| 55 | require_once("$default->fileSystemRoot/lib/database/lookup.inc"); | 54 | require_once("$default->fileSystemRoot/lib/database/lookup.inc"); |