blob: a65228f4fe8f43e4247472d12eb15e6a11320db9 [file] [log] [blame]
<?php
$cors_arg = strtolower($_GET["cors"]);
if ($cors_arg != "false") {
if ($cors_arg == "" || $cors_arg == "true") {
header("Access-Control-Allow-Origin: http://127.0.0.1:8000");
} else {
header("Access-Control-Allow-Origin: " . $cors_arg . "");
}
}
if (strtolower($_GET["credentials"]) == "true") {
header("Access-Control-Allow-Credentials: true");
}
header("Content-Type: text/css");
echo ".id1 { background-color: yellow }";
?>