Skip to content

Commit aec056b

Browse files
authored
Update uri.sh
1 parent e35e7b2 commit aec056b

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

lib/uri.sh

-22
Original file line numberDiff line numberDiff line change
@@ -17,25 +17,3 @@ do
1717
VALUE=$(echo ${ITEM} | cut -f2 -d'=')
1818
export ${KEY}=${VALUE}
1919
done
20-
21-
Redirect() {
22-
23-
## for browser-based redirects
24-
25-
TARGET=${1:-}
26-
27-
case ${TARGET} in
28-
29-
back|refer)
30-
TARGET=${HTTP_REFERER}
31-
;;
32-
33-
*)
34-
TARGET="/${TARGET}"
35-
;;
36-
37-
esac
38-
39-
echo '<html><meta http-equiv="refresh" content="0; URL='"${TARGET}"'" /></html>'
40-
41-
}

0 commit comments

Comments
 (0)