1
0
mirror of https://github.com/php/web-php.git synced 2026-03-23 23:02:13 +01:00

* More sysstat reducing stuff.

* Also added CVS Id: tags to files missing them at the top.

--jm
This commit is contained in:
Jacques Marneweck
2003-05-15 23:22:13 +00:00
parent c202dd11df
commit 0143fb470c
12 changed files with 35 additions and 13 deletions

View File

@@ -1,5 +1,7 @@
<?php
require_once 'prepend.inc';
/* $Id: */
require_once './include/prepend.inc';
$NUMACROSS = 2;
$SHOW_CLOSE = 10;

View File

@@ -68,7 +68,7 @@ if (!isset($base)) {
// The base is the referrer site. Check if it was a PHP mirror site,
// and not some other site offering a direct PHP.net search form.
// Links should not be pointed back to a non PHP.net mirror site
if (preg_match("!^http://(\\w{2}\\d?)\\.php\\.net/!", $HTTP_REFERER, $matches) &&
if (isset($_SERVER['HTTP_REFERER']) && preg_match("!^http://(\\w{2}\\d?)\\.php\\.net/!", $HTTP_REFERER, $matches) &&
$matches[1] != 'qa') {
$base = "http://{$matches[1]}.php.net/";
}

View File

@@ -1,5 +1,7 @@
<?php
include_once "prepend.inc";
/* $Id$ */
include_once "./include/prepend.inc";
// Gecko would like to see the target to be _content, while IE would
// like to see the target to be _main. Other browsers are not expected

View File

@@ -1,5 +1,7 @@
<?php
require_once 'prepend.inc';
/* $Id$ */
require_once './include/prepend.inc';
commonHeader("PHP.net Search Bars");

View File

@@ -1,5 +1,7 @@
<?php
include_once "prepend.inc";
/* $Id$ */
include_once "./include/prepend.inc";
commonHeader("Sitemap");
?>

View File

@@ -1,5 +1,7 @@
<?php
include_once 'prepend.inc';
/* $Id$ */
include_once './include/prepend.inc';
commonHeader("A Tourist's Guide");
?>

View File

@@ -1,7 +1,9 @@
<?php
require_once 'prepend.inc';
require_once 'posttohost.inc';
require_once 'email-validation.inc';
/* $Id$ */
require_once './include/prepend.inc';
require_once './include/posttohost.inc';
require_once './include/email-validation.inc';
commonHeader("Submit an Event");

View File

@@ -1,4 +1,6 @@
<?php
/* $Id$ */
include './include/prepend.inc';
commonHeader("Getting Help");

View File

@@ -1,5 +1,7 @@
<?php
require_once 'prepend.inc';
/* $Id$ */
require_once './include/prepend.inc';
commonHeader("Thanks");
?>

View File

@@ -1,5 +1,7 @@
<?php
require_once 'prepend.inc';
/* $Id$ */
require_once './include/prepend.inc';
commonHeader("Cool Quick Reference Tips");
function tipTitle($title,$author='',$date='') {

View File

@@ -1,5 +1,7 @@
<?php
require_once 'prepend.inc';
/* $Id$ */
require_once './include/prepend.inc';
commonHeader("Unsubscribing");
?>

View File

@@ -1,5 +1,7 @@
<?php
include_once 'prepend.inc';
/* $Id: */
include_once './include/prepend.inc';
$SIDEBAR_DATA='
<h3>URL examples</h3>