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

Add BASE_PAGE and remove the depreciated function usage

This commit is contained in:
Hannes Magnusson
2007-05-26 12:45:49 +00:00
parent d65040b3be
commit 2595af201c

View File

@@ -151,7 +151,7 @@ PageType php
#HTMLPre <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
HTMLPre <?php include_once $_SERVER['DOCUMENT_ROOT'] . "/include/prepend.inc"; ?>
HTMLPre <?php $_SERVER['BASE_PAGE'] = 'stats/index.php'; include_once $_SERVER['DOCUMENT_ROOT'] . "/include/prepend.inc"; ?>
# HTMLHead defines HTML code to insert within the <HEAD></HEAD>
# block, immediately after the <TITLE> line. Maximum line length
@@ -159,7 +159,7 @@ HTMLPre <?php include_once $_SERVER['DOCUMENT_ROOT'] . "/include/prepend.inc";
#HTMLHead <META NAME="author" CONTENT="The Webalizer">
HTMLHead <?php commonHeader("Stats"); ?>
HTMLHead <?php site_header("Stats"); ?>
# HTMLBody defined the HTML code to be inserted, starting with the
# <BODY> tag. If not specified, the default is shown below. If
@@ -195,7 +195,7 @@ HTMLBody <?php ?>
#HTMLEnd </BODY></HTML>
HTMLEnd <?php commonFooter(); ?>
HTMLEnd <?php siteFooter(); ?>
# The Quiet option suppresses output messages... Useful when run
# as a cron job to prevent bogus e-mails. Values can be either