diff options
Diffstat (limited to 'views/failsafe/install/pages/database.php')
-rw-r--r-- | views/failsafe/install/pages/database.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/views/failsafe/install/pages/database.php b/views/failsafe/install/pages/database.php new file mode 100644 index 000000000..7765c6e48 --- /dev/null +++ b/views/failsafe/install/pages/database.php @@ -0,0 +1,16 @@ +<?php +/** + * Install database page + * + * @uses $vars['failure'] Settings file exists but something went wrong + */ + +if (isset($vars['failure']) && $vars['failure']) { + echo autop(elgg_echo('install:database:error')); + $vars['refresh'] = TRUE; + $vars['advance'] = FALSE; + echo elgg_view('install/nav', $vars); +} else { + echo autop(elgg_echo('install:database:instructions')); + echo elgg_view('install/forms/database', $vars); +}
\ No newline at end of file |