blob: a3fa8dd6574e61ae6a161c4348568a6c2933165c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<?php
/**
* Database form
*
* @uses $vars['variables'] Array of form variables. See ElggInstaller.
*/
$vars['type'] = 'database';
$form_body = elgg_view('install/forms/template', $vars);
// @todo bug in current_page_url() with :8080 sites
//$url = current_page_url();
$url = '/install.php?step=database';
$params = array(
'body' => $form_body,
'action' => $url,
'disable_security' => TRUE,
);
echo elgg_view('input/form', $params);
|