Skip to content

Commit

Permalink
5584: adjusted paths for var when pretty URL in enabled w/o mod_rewri…
Browse files Browse the repository at this point in the history
…te, and when prettyURL is disabled
  • Loading branch information
atutorlangs committed May 23, 2015
1 parent ef60062 commit c8696bc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions bounce.php
Expand Up @@ -155,11 +155,10 @@ function get_groups($course_id) {
} else {
if ($_config['pretty_url'])
{
$orig_url = AT_PRETTY_URL_HANDLER.$_REQUEST['pu'];
$page = (substr($_REQUEST['pu'], -1) == '/') ? ($orig_url. 'ib/1/') : ($orig_url .'/ib/1/');
$page = url_rewrite($_REQUEST['pu'], AT_PRETTY_URL_NOT_HEADER, true) . 'ib/1';
}
else
$page = AT_PRETTY_URL_HANDLER.$_REQUEST['pu'] . SEP .'ib=1';
$page = $_REQUEST['pu'] . SEP .'ib=1';
}
} elseif (!empty($_REQUEST['p'])) {
//For search
Expand Down

0 comments on commit c8696bc

Please sign in to comment.