Elgg  Version 3.0
Variables
upgrade.php File Reference

Go to the source code of this file.

Variables

 $site_url = _elgg_config()->url
 
 $site_host = parse_url($site_url, PHP_URL_HOST) . '/'
 
 $forward_url = get_input('forward', '/admin', false)
 
if(strpos($forward_url, '/')!==0) $refresh_url
 
 $body = "<div style='margin-top:200px'>" . elgg_view('graphics/ajax_loader', ['hidden' => false]) . "</div>"
 
 $head
 

Variable Documentation

$body = "<div style='margin-top:200px'>" . elgg_view('graphics/ajax_loader', ['hidden' => false]) . "</div>"

Definition at line 23 of file upgrade.php.

$forward_url = get_input('forward', '/admin', false)

Definition at line 7 of file upgrade.php.

$head
Initial value:
= elgg_view('page/elements/head', [
'title' => elgg_echo('upgrading'),
])
elgg_echo($message_key, array $args=[], $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21
elgg_view($view, $vars=[], $viewtype= '')
Return a parsed view.
Definition: views.php:246

Definition at line 25 of file upgrade.php.

$refresh_url
Initial value:
= elgg_generate_url('upgrade:run', [
'upgrade' => 'upgrade',
'forward' => $forward_url,
])
elgg_generate_url($name, array $parameters=[])
Generate a URL for named route.
Definition: pagehandler.php:58
$forward_url
Definition: upgrade.php:7

Definition at line 14 of file upgrade.php.

$site_host = parse_url($site_url, PHP_URL_HOST) . '/'

Definition at line 4 of file upgrade.php.

$site_url = _elgg_config()->url

Definition at line 3 of file upgrade.php.