set return url from apps page

This commit is contained in:
redmatrix 2015-06-18 17:53:26 -07:00
parent 7e59580812
commit 25e134dd9c
2 changed files with 3 additions and 1 deletions

View File

@ -54,7 +54,7 @@ function appman_post(&$a) {
if($_SESSION['return_url']) if($_SESSION['return_url'])
goaway(z_root() . '/' . $_SESSION['return_url']); goaway(z_root() . '/' . $_SESSION['return_url']);
goaway(z_root() . '/apps/personal'); goaway(z_root() . '/apps');
} }

View File

@ -9,6 +9,8 @@ function apps_content(&$a) {
else else
$mode = 'list'; $mode = 'list';
$_SESSION['return_url'] = $a->cmd;
$apps = array(); $apps = array();
$syslist = get_system_apps(); $syslist = get_system_apps();