From 25e134dd9cb4768291517678286a197d5a4e79a6 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Thu, 18 Jun 2015 17:53:26 -0700 Subject: set return url from apps page --- mod/appman.php | 2 +- mod/apps.php | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'mod') 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(); -- cgit v1.2.3