Index: trunk/core/kernel/startup.php =================================================================== diff -u -N -r2604 -r2608 --- trunk/core/kernel/startup.php (.../startup.php) (revision 2604) +++ trunk/core/kernel/startup.php (.../startup.php) (revision 2608) @@ -78,7 +78,7 @@ safeDefine('CUSTOM_UPLOAD_PATH', '/templates/images/custom/'); safeDefine('MAX_UPLOAD_SIZE', min(ini_get('upload_max_filesize'), ini_get('post_max_size'))*1024*1024); -if (ini_get('safe_mode')) define('SAFE_MODE', 1); +if( ini_get('safe_mode') ) define('SAFE_MODE', 1); safeDefine('CACHE_CONFIGS_FILES', 1); safeDefine('EXPERIMENTAL_PRE_PARSE', 1); @@ -103,9 +103,6 @@ k4_include_once(KERNEL_PATH."/utility/temp_handler.php"); // needed because of static calls from kBase // up to here -//safeDefine('LOGIN_CONTROLLER', 'LoginController'); -//safeDefine('USER_MODEL', 'User'); - // global constants define('HAVING_FILTER', 1); define('WHERE_FILTER', 2); Index: trunk/core/units/visits/visits_config.php =================================================================== diff -u -N -r2555 -r2608 --- trunk/core/units/visits/visits_config.php (.../visits_config.php) (revision 2555) +++ trunk/core/units/visits/visits_config.php (.../visits_config.php) (revision 2608) @@ -82,8 +82,8 @@ 'AffiliatePortalUserId' => Array('type'=>'int'), 'OrderTotalAmount' => Array('type' => 'float', 'formatter'=>'kFormatter', 'format'=>'%01.2f', 'not_null' => '1','default' => '0.00'), 'OrderTotalAmountSum' => Array('type' => 'float', 'formatter'=>'kFormatter', 'format'=>'%01.2f', 'not_null' => '1','default' => '0.00'), - 'OrderAffiliateCommission' => Array('type' => 'numeric', 'formatter'=>'kFormatter','format'=>'%.02f', 'not_null' => '1','default' => '0.0000'), - 'OrderAffiliateCommissionSum' => Array('type' => 'numeric', 'formatter'=>'kFormatter','format'=>'%.02f', 'not_null' => '1','default' => '0.0000'), + 'OrderAffiliateCommission' => Array('type' => 'double', 'formatter'=>'kFormatter','format'=>'%.02f', 'not_null' => '1','default' => '0.0000'), + 'OrderAffiliateCommissionSum' => Array('type' => 'double', 'formatter'=>'kFormatter','format'=>'%.02f', 'not_null' => '1','default' => '0.0000'), ), 'Grids' => Array( Index: trunk/kernel/units/visits/visits_config.php =================================================================== diff -u -N -r2555 -r2608 --- trunk/kernel/units/visits/visits_config.php (.../visits_config.php) (revision 2555) +++ trunk/kernel/units/visits/visits_config.php (.../visits_config.php) (revision 2608) @@ -82,8 +82,8 @@ 'AffiliatePortalUserId' => Array('type'=>'int'), 'OrderTotalAmount' => Array('type' => 'float', 'formatter'=>'kFormatter', 'format'=>'%01.2f', 'not_null' => '1','default' => '0.00'), 'OrderTotalAmountSum' => Array('type' => 'float', 'formatter'=>'kFormatter', 'format'=>'%01.2f', 'not_null' => '1','default' => '0.00'), - 'OrderAffiliateCommission' => Array('type' => 'numeric', 'formatter'=>'kFormatter','format'=>'%.02f', 'not_null' => '1','default' => '0.0000'), - 'OrderAffiliateCommissionSum' => Array('type' => 'numeric', 'formatter'=>'kFormatter','format'=>'%.02f', 'not_null' => '1','default' => '0.0000'), + 'OrderAffiliateCommission' => Array('type' => 'double', 'formatter'=>'kFormatter','format'=>'%.02f', 'not_null' => '1','default' => '0.0000'), + 'OrderAffiliateCommissionSum' => Array('type' => 'double', 'formatter'=>'kFormatter','format'=>'%.02f', 'not_null' => '1','default' => '0.0000'), ), 'Grids' => Array(