Added the basic way of installing the modules after portal has been installed for the first time

This commit is contained in:
Marc Alexander
2010-11-16 15:31:03 +00:00
parent 2dba84ee76
commit d31d611844
3 changed files with 97 additions and 45 deletions

View File

@@ -52,7 +52,7 @@ $language_file = 'mods/info_acp_portal';
* The version numbering must otherwise be compatible with the version_compare function - http://php.net/manual/en/function.version-compare.php
*/
$versions = array(
'2.0.0-dev1' => array(
'2.0.0-dev2' => array(
'permission_add' => array(
array('a_portal'),
@@ -88,13 +88,14 @@ $versions = array(
),
'config_add' => array(
array('board3_enable', '1', 0),
array('board3_left_column', '1', 0),
array('board3_right_column', '1', 0),
array('board3_version_check', '1', 0),
array('board3_forum_index', '1', 0),
array('board3_left_column_width', '180', 0),
array('board3_right_column_width', '180', 0),
array('board3_enable', 1, 0),
array('board3_left_column', 1, 0),
array('board3_right_column', 1, 0),
array('board3_version_check', 1, 0),
array('board3_forum_index', 1, 0),
array('board3_left_column_width', 180, 0),
array('board3_right_column_width', 180, 0),
array('board3_first_install', 1, 0), // this will tell board3 portal to install the basic modules
),
'module_add' => array(