Airship\Installer\Commands::reset PHP Method

reset() public method

public reset ( )
    public function reset()
    {
        \file_put_contents(ROOT . '/tmp/installing.json', \json_encode(['step' => 0], JSON_PRETTY_PRINT));
        \chmod(ROOT . '/tmp/installing.json', 0777);
        \chown(ROOT . '/tmp/installing.json', 'www-data');
        \symlink(ROOT . '/Installer/launch.php', ROOT . '/public/launch.php');
    }