Index: trunk/kernel/units/modules/modules_config.php =================================================================== diff -u -N -r7391 -r8029 --- trunk/kernel/units/modules/modules_config.php (.../modules_config.php) (revision 7391) +++ trunk/kernel/units/modules/modules_config.php (.../modules_config.php) (revision 8029) @@ -92,15 +92,15 @@ ), 'Fields' => Array( - 'Name' => Array('type' => 'string','not_null' => '1','default' => ''), + 'Name' => Array('type' => 'string', 'not_null' => 1, 'default' => ''), 'Path' => Array('type' => 'string','not_null' => '1','default' => ''), 'Var' => Array('type' => 'string','not_null' => '1','default' => ''), - 'Version' => Array('type' => 'string','not_null' => '1','default' => ''), - 'Loaded' => Array('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array(1 => 'la_Enabled', 0 => 'la_Disabled'), 'use_phrases' => 1, 'not_null' => '1','default' => '1'), - 'LoadOrder' => Array('type' => 'int','not_null' => '1','default' => '0'), - 'TemplatePath' => Array('type' => 'string','not_null' => '1','default' => ''), - 'RootCat' => Array('type' => 'int','not_null' => '1','default' => '0'), - 'BuildDate' => Array('type' => 'double', 'formatter' => 'kDateFormatter', 'not_null' => '1','default' => ''), + 'Version' => Array('type' => 'string','not_null' => '1','default' => '0.0.0'), + 'Loaded' => Array('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array(1 => 'la_Enabled', 0 => 'la_Disabled'), 'use_phrases' => 1, 'not_null' => 1, 'default' => 1), + 'LoadOrder' => Array('type' => 'int','not_null' => 1, 'default' => 0), + 'TemplatePath' => Array('type' => 'string','not_null' => 1, 'default' => ''), + 'RootCat' => Array('type' => 'int','not_null' => 1, 'default' => 0), + 'BuildDate' => Array('type' => 'int', 'formatter' => 'kDateFormatter', 'default' => null), ), 'VirtualFields' => Array(),