diff options
| author | Nick Palmer <nick@sluggardy.net> | 2007-06-12 14:09:08 +0000 |
|---|---|---|
| committer | Nick Palmer <nick@sluggardy.net> | 2007-06-12 14:09:08 +0000 |
| commit | d08876e949ec076a6e50873c7f23d223cab1d76d (patch) | |
| tree | 1960230e296cd72ff4fc0be70f71b0f32817033d /redirect.php | |
| parent | fe93b8b3961a0812041f0ef32ef3e2dc9d650154 (diff) | |
| download | liberty-d08876e949ec076a6e50873c7f23d223cab1d76d.tar.gz liberty-d08876e949ec076a6e50873c7f23d223cab1d76d.tar.bz2 liberty-d08876e949ec076a6e50873c7f23d223cab1d76d.zip | |
Update to use bit_redirect.
Diffstat (limited to 'redirect.php')
| -rw-r--r-- | redirect.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/redirect.php b/redirect.php index d6f6ece..bf23627 100644 --- a/redirect.php +++ b/redirect.php @@ -1,8 +1,7 @@ <?php require_once('../bit_setup_inc.php'); if (!empty($_REQUEST['q'])) { - // ToDo: It would be nice to be able to track hits out... - header( 'Location:'.$_REQUEST['q'] ); + bit_redirect($_REQUEST['q'] ); } else { $_REQUEST['error'] = tra('The redirect did not include a url.'); |
