aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Redkozubov <georgy.redkozubov@linaro.org>2012-05-11 13:13:28 +0400
committerGeorgy Redkozubov <georgy.redkozubov@linaro.org>2012-05-11 13:13:28 +0400
commita0afb3cb3ebc607ed4ca52ccd88deef5ce56f59c (patch)
treea5ac85900d7ac8061060aca821c3d5ef6735e4c3
parentcedb46f813e9a597b80b8a730f027ded90903316 (diff)
Fixed indentation.
-rw-r--r--licenses/LicenseHelper.php13
1 files changed, 6 insertions, 7 deletions
diff --git a/licenses/LicenseHelper.php b/licenses/LicenseHelper.php
index 27b9e52..55c4e45 100644
--- a/licenses/LicenseHelper.php
+++ b/licenses/LicenseHelper.php
@@ -75,16 +75,15 @@ class LicenseHelper
public static function redirect_with_status($dir, $domain, $status)
{
- static $http = array (
- 200 => "HTTP/1.1 200 OK",
- 403 => "HTTP/1.1 403 Forbidden",
- 404 => "HTTP/1.1 404 Not Found"
- );
+ static $http = array (
+ 200 => "HTTP/1.1 200 OK",
+ 403 => "HTTP/1.1 403 Forbidden",
+ 404 => "HTTP/1.1 404 Not Found"
+ );
header($http[$status]);
header ("Location: $dir");
header("Status: ".$status);
- setcookie("redirectlicensephp", $status, 0, "/", ".".$domain);
+ setcookie("redirectlicensephp", $status, 0, "/", ".".$domain);
exit;
}
}
-