aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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();