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

@@ -43,6 +43,13 @@ class acp_portal
$user->add_lang('mods/portal');
$submit = (isset($_POST['submit'])) ? true : false;
// install modules first if this is the first visit
if($config['board3_first_install'])
{
set_config('board3_first_install', 0);
board3_basic_install(true, $this->u_action);
}
$form_key = 'acp_portal';
add_form_key($form_key);