mirror of
https://git.code.sf.net/p/quake/website
synced 2025-01-31 12:40:49 +00:00
Fix the site home -- SourceForge moved it.
This commit is contained in:
parent
ddce987dfd
commit
e08e580e9a
2 changed files with 4 additions and 4 deletions
|
@ -1,9 +1,9 @@
|
||||||
<? // Project logo background rotation
|
<? // Project logo background rotation
|
||||||
define ('siteHome', '/home/groups/q/qu/quake/htdocs');
|
define ('siteHome', '/home/project-web/quake/htdocs');
|
||||||
require siteHome . "/parts/library.inc"; // Load function library
|
require siteHome . "/parts/library.inc"; // Load function library
|
||||||
|
|
||||||
srand ((double) microtime () * 1000000);
|
srand ((double) microtime () * 1000000);
|
||||||
|
|
||||||
header("HTTP/1.1 307 Temporary Redirect");
|
header("HTTP/1.1 307 Temporary Redirect");
|
||||||
header("Location: /img/background-logos/$theme-logo" . rand(1, 3) . '.png');
|
header("Location: /img/background-logos/$theme-logo" . rand(1, 3) . '.png');
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<? // Preamble
|
<? // Preamble
|
||||||
$siteName = "The QuakeForge Project";
|
$siteName = "The QuakeForge Project";
|
||||||
$columns = 'content';
|
$columns = 'content';
|
||||||
define ('siteHome', "/home/groups/q/qu/quake/htdocs");
|
define ('siteHome', "/home/project-web/quake/htdocs");
|
||||||
|
|
||||||
require siteHome . "/parts/library.inc"; // Load function library
|
require siteHome . "/parts/library.inc"; // Load function library
|
||||||
if ($need) {
|
if ($need) {
|
||||||
|
@ -54,4 +54,4 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
register_shutdown_function (postamble);
|
register_shutdown_function (postamble);
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in a new issue