Index: trunk/kernel/units/languages/languages_config.php
===================================================================
diff -u -r1766 -r1837
--- trunk/kernel/units/languages/languages_config.php (.../languages_config.php) (revision 1766)
+++ trunk/kernel/units/languages/languages_config.php (.../languages_config.php) (revision 1837)
@@ -119,8 +119,8 @@
'IconURL' => Array('type' => 'string','default' => ''),
'DateFormat' => Array('type' => 'string','not_null' => '1','default' => '','required'=>1),
'TimeFormat' => Array('type' => 'string','not_null' => '1','default' => '','required'=>1),
- 'DecimalPoint' => Array('type' => 'string','not_null' => '1','default' => '.'),
- 'ThousandSep' => Array('type' => 'string','not_null' => '1','default' => ','),
+ 'DecimalPoint' => Array('type' => 'string','not_null' => '1','default' => ''),
+ 'ThousandSep' => Array('type' => 'string','not_null' => '1','default' => ''),
'Charset' => Array('type' => 'string','not_null' => '1','default' => '','required'=>1),
'UnitSystem' => Array('type' => 'int','not_null' => '1','default' => '1','formatter' => 'kOptionsFormatter','options' => Array(1 => 'la_Metric', 2 => 'la_US_UK'),'use_phrases' => 1),
),
Index: trunk/core/kernel/application.php
===================================================================
diff -u -r1821 -r1837
--- trunk/core/kernel/application.php (.../application.php) (revision 1821)
+++ trunk/core/kernel/application.php (.../application.php) (revision 1837)
@@ -857,13 +857,22 @@
$location = "Location: $location";
//echo " location : $location
";
- if (headers_sent() != '' || ($this->isDebugMode() && dbg_ConstOn('DBG_REDIRECT')) ) {
- /*$GLOBALS['debugger']->appendTrace();
- echo "Debug output above!!! Proceed to redirect: $a_location
";*/
- echo '';
+
+ if( $this->isDebugMode() && dbg_ConstOn('DBG_REDIRECT') )
+ {
+ $GLOBALS['debugger']->appendTrace();
+ echo "Debug output above!!! Proceed to redirect: $a_location
";
}
- else {
- header("$location");
+ else
+ {
+ if(headers_sent() != '')
+ {
+ echo '';
+ }
+ else
+ {
+ header("$location");
+ }
}
$session =& $this->recallObject('Session');
Index: trunk/kernel/units/languages/languages_event_handler.php
===================================================================
diff -u -r1777 -r1837
--- trunk/kernel/units/languages/languages_event_handler.php (.../languages_event_handler.php) (revision 1777)
+++ trunk/kernel/units/languages/languages_event_handler.php (.../languages_event_handler.php) (revision 1837)
@@ -17,6 +17,7 @@
$sqls = Array();
$unit_config_reader =& $this->Application->recallObject('kUnitConfigReader');
+
foreach($unit_config_reader->configData as $prefix => $config_data)
{
$table_name = getArrayValue($config_data,'TableName');
Index: trunk/core/units/languages/languages_event_handler.php
===================================================================
diff -u -r1777 -r1837
--- trunk/core/units/languages/languages_event_handler.php (.../languages_event_handler.php) (revision 1777)
+++ trunk/core/units/languages/languages_event_handler.php (.../languages_event_handler.php) (revision 1837)
@@ -17,6 +17,7 @@
$sqls = Array();
$unit_config_reader =& $this->Application->recallObject('kUnitConfigReader');
+
foreach($unit_config_reader->configData as $prefix => $config_data)
{
$table_name = getArrayValue($config_data,'TableName');
Index: trunk/core/units/languages/languages_config.php
===================================================================
diff -u -r1766 -r1837
--- trunk/core/units/languages/languages_config.php (.../languages_config.php) (revision 1766)
+++ trunk/core/units/languages/languages_config.php (.../languages_config.php) (revision 1837)
@@ -119,8 +119,8 @@
'IconURL' => Array('type' => 'string','default' => ''),
'DateFormat' => Array('type' => 'string','not_null' => '1','default' => '','required'=>1),
'TimeFormat' => Array('type' => 'string','not_null' => '1','default' => '','required'=>1),
- 'DecimalPoint' => Array('type' => 'string','not_null' => '1','default' => '.'),
- 'ThousandSep' => Array('type' => 'string','not_null' => '1','default' => ','),
+ 'DecimalPoint' => Array('type' => 'string','not_null' => '1','default' => ''),
+ 'ThousandSep' => Array('type' => 'string','not_null' => '1','default' => ''),
'Charset' => Array('type' => 'string','not_null' => '1','default' => '','required'=>1),
'UnitSystem' => Array('type' => 'int','not_null' => '1','default' => '1','formatter' => 'kOptionsFormatter','options' => Array(1 => 'la_Metric', 2 => 'la_US_UK'),'use_phrases' => 1),
),