website/parts/bg-logo.php

10 lines
331 B
PHP
Raw Normal View History

<? // Project logo background rotation
define ('siteHome', '/home/project-web/quake/htdocs');
2007-03-22 05:56:21 +00:00
require siteHome . "/parts/library.inc"; // Load function library
srand ((double) microtime () * 1000000);
header("HTTP/1.1 307 Temporary Redirect");
header("Location: /img/background-logos/$theme-logo" . rand(1, 3) . '.png');
?>