diff options
author | Mario <mario@mariovavti.com> | 2021-08-23 07:59:37 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-08-23 07:59:37 +0000 |
commit | 824894baf0f11e85552c283ee948febd8bac5e06 (patch) | |
tree | c98f5d1fa662f7421c50eb42e15cc469dd24051c /Zotlabs/Lib | |
parent | 2bd4f7384e3693c4f1f1886216ec0feedd23021e (diff) | |
download | volse-hubzilla-824894baf0f11e85552c283ee948febd8bac5e06.tar.gz volse-hubzilla-824894baf0f11e85552c283ee948febd8bac5e06.tar.bz2 volse-hubzilla-824894baf0f11e85552c283ee948febd8bac5e06.zip |
more app descriptions and return to the app if installed from the module itself
Diffstat (limited to 'Zotlabs/Lib')
-rw-r--r-- | Zotlabs/Lib/Apps.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Zotlabs/Lib/Apps.php b/Zotlabs/Lib/Apps.php index 201ea122e..a9af0812d 100644 --- a/Zotlabs/Lib/Apps.php +++ b/Zotlabs/Lib/Apps.php @@ -2,6 +2,7 @@ namespace Zotlabs\Lib; +use App; use Zotlabs\Lib\Libsync; require_once('include/plugin.php'); @@ -538,6 +539,7 @@ class Apps { $icon = ((strpos($papp['photo'],'icon:') === 0) ? substr($papp['photo'],5) : ''); if (!$installed && $mode === 'module') { + $_SESSION['return_url'] = App::$query_string; return replace_macros(get_markup_template('app_install.tpl'), [ '$papp' => $papp, '$install' => $install_action |