Elgg\Application::install PHP Method

install() public static method

Renders a web UI for installing Elgg.
public static install ( ) : void
return void
    public static function install()
    {
        ini_set('display_errors', 1);
        $installer = new \ElggInstaller();
        $step = get_input('step', 'welcome');
        $installer->run($step);
    }

Usage Example

Example #1
0
<?php

$autoload_path = __DIR__ . '/vendor/autoload.php';
$autoload_available = (include_once $autoload_path);
if (!$autoload_available) {
    die("Couldn't include '{$autoload_path}'. Did you run `composer install`?");
}
\Elgg\Application::install();