summaryrefslogtreecommitdiffstats
path: root/admin/survey/minify/static/gen.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--admin/survey/minify/static/gen.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/survey/minify/static/gen.php b/admin/survey/minify/static/gen.php
index 2bc40af..5ec84a5 100644
--- a/admin/survey/minify/static/gen.php
+++ b/admin/survey/minify/static/gen.php
@@ -7,12 +7,12 @@ if (is_file(__DIR__ . '/bootstrap.php')) {
$bootstrap_file = __DIR__ . '/../bootstrap.php';
}
-$send_400 = function($content = 'Bad URL') {
+$send_400 = function ($content = 'Bad URL') {
http_response_code(400);
die($content);
};
-$send_301 = function($url) {
+$send_301 = function ($url) {
http_response_code(301);
header("Cache-Control: max-age=31536000");
header("Location: $url");