- The translation file reader did an isset on a set variable insetad of checking if the variable is zero and so never started the translation system - The DB IO connection not set was wrongly set. If the connection failed it is not TRUE and else FALSE. There is a new internal method getConnectionStatus to query this status it returns TRUE/FALSE depending if the connection failed - Update the l10n test page with proper translation tests - init OK - show current lang/file - translation test - switch language test
36 lines
932 B
PHP
Executable File
36 lines
932 B
PHP
Executable File
<?php
|
|
/********************************************************************
|
|
* AUTHOR: Clemens Schwaighofer
|
|
* CREATED: 2018/10/11
|
|
* SHORT DESCRIPTION:
|
|
* configuration file for core host settings
|
|
* - DB access name (array group from config.db)
|
|
* - location (test/stage/live)
|
|
* - debug flag (true/false)
|
|
* - DB path (eg PUBLIC_SCHEMA)
|
|
* - stie lang
|
|
* HISTORY:
|
|
*********************************************************************/
|
|
|
|
// each host has a different db_host
|
|
$SITE_CONFIG = array (
|
|
// development host
|
|
'soba.tokyo.tequila.jp' => array (
|
|
// db config selection
|
|
'db_host' => 'test',
|
|
// other db connections
|
|
// 'db_host_target' => '',
|
|
// 'db_host_other' => '',
|
|
// location flagging (test/dev/live) for debug output
|
|
'location' => 'test',
|
|
// show DEBUG override
|
|
'debug_flag' => true,
|
|
// site language
|
|
'site_lang' => 'en_utf8',
|
|
// enable/disable login override
|
|
'login_enabled' => true
|
|
)
|
|
);
|
|
|
|
// __END__
|