Elgg  Version master
Variables
upgrade.php File Reference

Go to the source code of this file.

Variables

 $site_url = elgg_get_site_url()
 
 $site_host = parse_url($site_url, PHP_URL_HOST) . '/'
 
 $forward_url = get_input('forward', '/admin', false)
 
if(elgg_strpos($forward_url, '/')!==0) $refresh_url
 
 $body = elgg_format_element('div', ['style' => 'margin-top: 200px;'], elgg_view('graphics/ajax_loader', ['hidden' => false]))
 
 $head = elgg_view('page/elements/head', ['title' => elgg_echo('upgrading')])
 

Variable Documentation

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

Definition at line 23 of file upgrade.php.

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

Definition at line 7 of file upgrade.php.

$head = elgg_view('page/elements/head', ['title' => elgg_echo('upgrading')])

Definition at line 25 of file upgrade.php.

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

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_get_site_url()

Definition at line 3 of file upgrade.php.