summaryrefslogtreecommitdiff
path: root/includes/sys_page.php
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2016-10-01 10:48:19 +0200
committermsquare <msquare@notrademark.de>2016-10-01 10:48:19 +0200
commitd5d2acc7d80920eef5f0ed779a3738a12d5db348 (patch)
treed2d7eb680c1ecaf72480893bba252ab2d9958804 /includes/sys_page.php
parent6dfefc3bb9f054c472156801e37300059444ecc7 (diff)
improve code style
Diffstat (limited to 'includes/sys_page.php')
-rw-r--r--includes/sys_page.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/sys_page.php b/includes/sys_page.php
index a6daaae1..e336261d 100644
--- a/includes/sys_page.php
+++ b/includes/sys_page.php
@@ -3,8 +3,8 @@
/**
* Leitet den Browser an die übergebene URL weiter und hält das Script an.
*/
-function redirect($to) {
- header("Location: " . $to, true, 302);
+function redirect($url) {
+ header("Location: " . $url, true, 302);
raw_output("");
}