cvs: pear /PHPDoc index.php

From: Date: Sat, 17 Aug 2002 23:10:29 +0000
Subject: cvs: pear /PHPDoc index.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-5789@lists.php.net to get a copy of this message
floripa Sat Aug 17 19:10:29 2002 EDT Modified files: /pear/PHPDoc index.php Log: forgot the SERVER_DOC_ROOT Index: pear/PHPDoc/index.php diff -u pear/PHPDoc/index.php:1.5 pear/PHPDoc/index.php:1.6 --- pear/PHPDoc/index.php:1.5 Sat Aug 17 18:59:55 2002 +++ pear/PHPDoc/index.php Sat Aug 17 19:10:29 2002 @@ -17,7 +17,7 @@ | Author: Antônio Carlos Venâncio Júnior <floripa@php.net> | +----------------------------------------------------------------------+ - $Id: index.php,v 1.5 2002/08/17 22:59:55 floripa Exp $: + $Id: index.php,v 1.6 2002/08/17 23:10:29 floripa Exp $: */ /* @@ -46,6 +46,12 @@ // Html tags allowed to be used in doc tags define("PHPDOC_ALLOWEDHTMLTAGS", "<a>,<i>,<b>,<pre>,<ul>,<li>,<br>,<code>"); + +if (!isset($_SERVER)) { + define("SERVER_DOC_ROOT", $DOCUMENT_ROOT . '/'); +} else { + define("SERVER_DOC_ROOT", $_SERVER['DOCUMENT_ROOT'] . '/'); +} // main PHPDoc Include File include("./prepend.php");

« previous php.pear.cvs (#5789) next »