Elgg  Version 2.2
 All Classes Namespaces Files Functions Variables Pages
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's query string.
Definition: elgglib.php:1171
$head
Definition: upgrade.php:22
$refresh_url
Page shell for upgrade script.
Definition: upgrade.php:13
$vars['entity']
$body
Definition: upgrade.php:20
elgg_view($view, $vars=array(), $ignore1=false, $ignore2=false, $viewtype= '')
Return a parsed view.
Definition: views.php:342
elgg_get_site_url($site_guid=0)
Get the URL for the current (or specified) site.
elgg_extract($key, $array, $default=null, $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
Definition: elgglib.php:1310