aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-06-18 17:53:26 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-06-18 17:53:26 -0700
commit25e134dd9cb4768291517678286a197d5a4e79a6 (patch)
treec420f90a4f5a63c15c5fa7c059573b6feb686fc4 /mod
parent7e595808122c2c98e49ead0bc311e0532215eedc (diff)
downloadvolse-hubzilla-25e134dd9cb4768291517678286a197d5a4e79a6.tar.gz
volse-hubzilla-25e134dd9cb4768291517678286a197d5a4e79a6.tar.bz2
volse-hubzilla-25e134dd9cb4768291517678286a197d5a4e79a6.zip
set return url from apps page
Diffstat (limited to 'mod')
-rw-r--r--mod/appman.php2
-rw-r--r--mod/apps.php2
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();