diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-06-18 17:53:26 -0700 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-06-18 17:53:26 -0700 |
commit | 25e134dd9cb4768291517678286a197d5a4e79a6 (patch) | |
tree | c420f90a4f5a63c15c5fa7c059573b6feb686fc4 | |
parent | 7e595808122c2c98e49ead0bc311e0532215eedc (diff) | |
download | volse-hubzilla-25e134dd9cb4768291517678286a197d5a4e79a6.tar.gz volse-hubzilla-25e134dd9cb4768291517678286a197d5a4e79a6.tar.bz2 volse-hubzilla-25e134dd9cb4768291517678286a197d5a4e79a6.zip |
set return url from apps page
-rw-r--r-- | mod/appman.php | 2 | ||||
-rw-r--r-- | mod/apps.php | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/mod/appman.php b/mod/appman.php index db22df883..e31492f0b 100644 --- a/mod/appman.php +++ b/mod/appman.php @@ -54,7 +54,7 @@ function appman_post(&$a) { if($_SESSION['return_url']) goaway(z_root() . '/' . $_SESSION['return_url']); - goaway(z_root() . '/apps/personal'); + goaway(z_root() . '/apps'); } diff --git a/mod/apps.php b/mod/apps.php index be9b54307..fcf545421 100644 --- a/mod/apps.php +++ b/mod/apps.php @@ -9,6 +9,8 @@ function apps_content(&$a) { else $mode = 'list'; + $_SESSION['return_url'] = $a->cmd; + $apps = array(); $syslist = get_system_apps(); |