cvs: phpweb / cal.php

From: Date: Fri, 13 Jul 2001 03:24:01 +0000
Subject: cvs: phpweb / cal.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-5528@lists.php.net to get a copy of this message
jacques Thu Jul 12 23:24:01 2001 EDT Modified files: /phpweb cal.php Log: * Redirect to the primary site if the mirror the page is being viewed on is not the primary site. --jm Index: phpweb/cal.php diff -u phpweb/cal.php:1.14 phpweb/cal.php:1.15 --- phpweb/cal.php:1.14 Thu Jul 12 14:21:05 2001 +++ phpweb/cal.php Thu Jul 12 23:24:01 2001 @@ -1,5 +1,11 @@ <?php require_once 'prepend.inc'; + + if (!is_primary_site() || !strstr($MYSITE,"localhost")) { + header("Location: http://www.php.net/cal.php"); + exit; + } + commonHeader("Event Calendar",1); require_once 'cvs-auth.inc';

« previous php.mirrors (#5528) next »