Elgg  Version 1.11
upgrade.php
Go to the documentation of this file.
1 <?php
14  'upgrade' => 'upgrade',
15  'forward' => elgg_extract('forward', $vars, '/admin')
16 ));
17 
18 $refresh_url = htmlspecialchars($refresh_url);
19 // render content before head so that JavaScript and CSS can be loaded. See #4032
20 $body = "<div style='margin-top:200px'>" . elgg_view('graphics/ajax_loader', array('hidden' => false)) . "</div>";
21 
22 $head = elgg_view('page/elements/head', $vars['head']);
23 $head .= "<meta http-equiv='refresh' content='1;url=$refresh_url' />";
24 
25 echo elgg_view("page/elements/html", array("head" => $head, "body" => $body));
elgg_http_add_url_query_elements($url, array $elements)
Sets elements in a URL&#39;s query string.
Definition: elgglib.php:1107
$head
Definition: upgrade.php:22
$refresh_url
Page shell for upgrade script.
Definition: upgrade.php:13
elgg_extract($key, array $array, $default=null, $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
Definition: elgglib.php:1246
$body
Definition: upgrade.php:20
elgg echo
Translates a string.
Definition: languages.js:43
elgg_get_site_url($site_guid=0)
Get the URL for the current (or specified) site.
elgg_view($view, $vars=array(), $bypass=false, $ignored=false, $viewtype= '')
Return a parsed view.
Definition: views.php:354
if(file_exists($welcome)) $vars
Definition: upgrade.php:93