1234567891011121314151617181920212223242526 |
- <?php
- /**
- * Install database page
- *
- * @uses $vars['failure'] Settings file exists but something went wrong
- */
- if (isset($vars['failure']) && $vars['failure']) {
- echo elgg_autop(elgg_echo('install:database:error'));
- $vars['refresh'] = TRUE;
- $vars['advance'] = FALSE;
- echo elgg_view('install/nav', $vars);
- } else {
- echo elgg_autop(elgg_echo('install:database:instructions'));
-
- $vars['type'] = 'database';
-
- $url = current_page_url();
-
- $form_vars = array(
- 'action' => $url,
- 'disable_security' => TRUE,
- );
-
- echo elgg_view_form('install/template', $form_vars, $vars);
- }
|