Elgg  Version master
database.php
Go to the documentation of this file.
1 <?php
8 if (isset($vars['failure']) && $vars['failure']) {
9  echo elgg_autop(elgg_echo('install:database:error'));
10  $vars['refresh'] = true;
11  $vars['advance'] = false;
12  echo elgg_view('install/nav', $vars);
13  return;
14 }
15 
16 echo elgg_autop(elgg_echo('install:database:instructions'));
17 
18 $vars['type'] = 'database';
19 
21  'action' => elgg_get_current_url(),
22  'disable_security' => true,
23 ];
24 
25 echo elgg_view_form('install/template', $form_vars, $vars);
elgg_view_form(string $action, array $form_vars=[], array $body_vars=[])
Definition: views.php:1033
elgg_echo(string $message_key, array $args=[], string $language= '')
Elgg language module Functions to manage language and translations.
Definition: languages.php:17
elgg_view(string $view, array $vars=[], string $viewtype= '')
Return a parsed view.
Definition: views.php:156
$vars['type']
Definition: database.php:18
elgg_get_current_url()
Returns the current page&#39;s complete URL.
elgg_autop(string $string)
Create paragraphs from text with line spacing.
Definition: output.php:67
$form_vars
Definition: database.php:20