cvs: phpweb / source.php

From: Date: Sun, 03 Aug 2003 17:27:15 +0000
Subject: cvs: phpweb / source.php
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-19788@lists.php.net to get a copy of this message
goba Sun Aug 3 13:27:15 2003 EDT Modified files: /phpweb source.php Log: Remove debug information and hdelim() Index: phpweb/source.php diff -u phpweb/source.php:1.17 phpweb/source.php:1.18 --- phpweb/source.php:1.17 Sun Aug 3 11:51:25 2003 +++ phpweb/source.php Sun Aug 3 13:27:15 2003 @@ -1,5 +1,5 @@ <?php -// $Id: source.php,v 1.17 2003/08/03 15:51:25 goba Exp $ +// $Id: source.php,v 1.18 2003/08/03 17:27:15 goba Exp $ $_SERVER['BASE_PAGE'] = 'source.php'; include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc'; @@ -45,7 +45,7 @@ exit; } -echo "<h1>Source of: ", htmlentities($_GET['url']), "</h1>", hdelim(); +echo "<h1>Source of: " . htmlentities($_GET['url']) . "</h1>"; // Get dirname of the specified URL part $dir = dirname($_GET['url']); @@ -67,8 +67,6 @@ } else { $page_name = $_SERVER['DOCUMENT_ROOT'] . '/' . basename($_GET['url']); } - -echo "<!-- ", htmlentities($page_name), " -->\n"; // Provide some feedback based on the file found if (!$page_name || @is_dir($page_name)) {

« previous php.mirrors (#19788) next »