mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-08 06:05:42 +12:00
18 lines
No EOL
451 B
PHP
18 lines
No EOL
451 B
PHP
<?php
|
|
# Decide which version to use
|
|
if($_SERVER['HTTP_USER_AGENT'] == "Shockwave Flash") # Projector
|
|
{
|
|
$file = file_get_contents("horseisle_projector.swf");
|
|
header("Content-Type: application/x-shockwave-flash");
|
|
header("Content-Length: ".sizeof($file));
|
|
echo($file);
|
|
}
|
|
else
|
|
{
|
|
$file = file_get_contents("horseisle_patched.swf");
|
|
header("Content-Type: application/x-shockwave-flash");
|
|
header("Content-Length: ".sizeof($file));
|
|
echo($file);
|
|
}
|
|
|
|
?>
|